You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using dwm on Arch Linux, but I believe this issue might apply to most users working with window managers.
The selected codeblock does not run in Stata until I shift my focused window to Stata, upon which all the text is synced and sent. This is particular to a window manager workflow since only 1 window is considered to be 'in focus' at a time. On desktop environments, this issue does not exist.
I believe the problem is that sendCode.js currently uses the --sync flag on windowactivate.
The selected codeblock is sent to clipboard
The Stata window is activated
Clipboard is pasted, and then the current window is activated again.
I have managed to get this working by modifying the following lines in lib/sendCode.js
Here is the diff for fixing this issue. This should not affect compatibility with desktop environments on Linux, but it will be great if this could be tested!
I am using dwm on Arch Linux, but I believe this issue might apply to most users working with window managers.
The selected codeblock does not run in Stata until I shift my focused window to Stata, upon which all the text is synced and sent. This is particular to a window manager workflow since only 1 window is considered to be 'in focus' at a time. On desktop environments, this issue does not exist.
I believe the problem is that sendCode.js currently uses the --sync flag on windowactivate.
I have managed to get this working by modifying the following lines in
lib/sendCode.js
Here is the diff for fixing this issue. This should not affect compatibility with desktop environments on Linux, but it will be great if this could be tested!
The text was updated successfully, but these errors were encountered: