SendCode
SendCode copied to clipboard
holding ctrl will not send repeated lines of code (gnome-terminal)
On macos, I could hold down the meta key and press enter successive times to send multiple lines of code.
On Ubuntu 14.04, if I hold ctrl and press return repeatedly, it will send the first line but insert a new line in ST3 on successive presses, as though sendcode didn't get the ctrl command.
Any ideas?
Thank you
which program are you sending to?
Terminal (ubuntu 14.0)
So I assume you are talking about gnome-terminal, or is it?
Yes, Gnome 3.6.2.
After using it a bit, sendcode occasionally sends V to the terminal as well. I don't know why. Essentially I have to repress the command key every time. How mature is integration with Terminus? My X/Y problem is really that I'm looking for good REPL integration with ST3. Thank you for your help.
Ya, I could reproduce it the ctrl thing. It is unfortunate a shortcoming of sending code to linux terminals. Send code to gnome terminal is based on a "hack" so a lot of things may not work as expected. My recommendation is to use tmux on linux.
Terminus has been quite stable currently, though I am not surprised that it is still bugged.
I have now tested with tmux and still have the same issue. Do you have any suggestions for debugging this issue?
I don't expect tmux has the issue. Could you confirm that the prog is set as tmux?
oh yea! Working now. I guess I'll leave this open, as the issue was unresolved? A sendcode-like REPL environment is so core to my workflow, I'll switch to tmux. Thanks.
is there a linux terminal that does not have this issue? It kinda makes it unusable, which is a shame. Tmux works smoothly in this regard, it has two drawbacks however, that is resolved when using a terminal directly:
- the colors change - so when using rtichoke the colors doesn't have a very good look
- scrolling with the mouse is disabled
It is, unfortunately, an common issue shared by any linux terminal which depends on xdotool. We may have a better luck with temrinals which support dbus. Konsole is the only one which I know of supporting dbus and I didn't have time to look into that.
Thank you for the clarification. Allright. Well I don't have the competences to help you support Konsole but I hope someone does at some point in time!
Hi I'm experiencing the same problem, but then I set tmux as the SendCode program, I'm still having the same issue (using tmux within gnome-terminal).
I'm using Sublime version 3.2.2 build 3211