-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shift->right_cursor shift->right_cursor inserts control codes into editor #55
Comments
It looks like the sequence is not recognized. Can you send a dump of infocmp? |
does this help? |
Sure, that helps a lot. So, "kRIT=\E[1;2C" assigns the "kRIT" function (which I'm guessing is terminfo speak for "shift-right_cursor") to the character sequence "escape" (\E) "[" "1", ";", "2",and "C". Apparently Say you want to map
That maps the escape sequence to key "fe" (in hex), then assigns the The reason you are seeing the menu the first time you hit that key combination is because of the leading escape character. The 2nd time you hit that sequence (while the menu is displayed), the leading escape closes the menu, and the subsequent characters look to Once you assign that escape sequence using SEQ and KEY in your
Does that help? |
oh interesting. yes, that does indeed explain the behaviour. |
first shift-right_cursor opens menu, another shit-right_cursor inserts
[1;2C
into xterm.(happens with netbsd-curses, ncurses untested)
The text was updated successfully, but these errors were encountered: