codeboard icon indicating copy to clipboard operation
codeboard copied to clipboard

It seems most control chars can't be typed.

Open Dunbaratu opened this issue 7 years ago • 6 comments

I first noticed the problem when using Termux (a unix-ish shell environment) which has a telnet client in it. It was impossible to type control-], which is how you get an escape from telnet.

A quick browse of the source code seems to imply that the ctrl highlight mode only works with a very few specific letters it was implemented for, and for all other keys the ctrl is ignored and it reverts to acting as if ctrl isn't on.

Dunbaratu avatar Oct 27 '17 09:10 Dunbaratu

Same here; in my case, I couldn't use Ctrl+d to exit the Python interpreter in a Termux shell. I think this should be treated as a high-priority bug.

at-karan-sharma avatar Dec 28 '17 11:12 at-karan-sharma

@Monsieur-Moony, @Dunbaratu: termux lets you use volume-down (or the extra-keys button) in place of Ctrl, though I agree.

Quasic avatar Dec 29 '17 09:12 Quasic

@Quasic Thanks, that's handy info 👍

Although not ideal, the extra-keys bar + codeboard is somewhat manageable for Termux.

at-karan-sharma avatar Dec 29 '17 10:12 at-karan-sharma

But there's no doubt that this issue with CodeBoard needs to be fixed. This CTRL key doesn't even work with Nano 😒

theintel avatar Jan 02 '18 20:01 theintel

Confirm. Key bindings for tmux don't work (with termux). Default key bindings for tmux are ctrl-b (default send-prefix) followed by command key ('c', 'd', 'n', 'p', etc.). Pressing 'Ctrl', 'b', 'c', has the effect of typing 'c'. If I use 'CTR' in termux's extra keys, ssh from a remote terminal, or use another keyboard then the key bindings work. Enough of an issue that I no longer use CodeBoard.

hexregex avatar Mar 11 '18 20:03 hexregex

If anyone can test the latest code, please let me know if the issue has re-opened. Or give me a simple use case I can test myself.

Single letters like "Ctrl+d" should work, but "Ctrl+b+c" will not since the ctrl is not "locked" after the first character. This could be fixed by having a ctrl-lock like we do with shift currently.

gazlaws-dev avatar Apr 19 '20 09:04 gazlaws-dev