- 31 Jul, 2016 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Again, just for preapring an easier return from the parsing routine.
-
Benno Schulenberg authored
There is no need to specially flag a function key or editing key -- the keycode is indication enough in itself: outside of byte range.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 30 Jul, 2016 8 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Saving roughly twenty microseconds at startup.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, when a key string does not denote a Ctrl nor Meta nor Function key, there is no point in assigning a keycode, because plain characters cannot be used as a function shortcut.
-
Benno Schulenberg authored
The keycode is not a sequence; it is a single integer value.
-
Benno Schulenberg authored
And instead of using two key types, just use a bool to indicate whether a keystroke involves Meta.
-
Benno Schulenberg authored
A keycode is either already in byte range (so there is nothing to do) or it is not and it shouldn't be (so there is nothing to do either).
-
Benno Schulenberg authored
After initialization, the type of a key is never used nor needed (other than for meta keys).
-
- 29 Jul, 2016 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Accept the "Esc [ 1 n ~" and "Esc [ 2 n ~" sequences only when they end with the "~" character, not with any character.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 28 Jul, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
It is nicer to have a predictable cursor position and not see it hop left and right on differently indented lines.
-
- 27 Jul, 2016 4 commits
-
-
Benno Schulenberg authored
Those lines don't exist in that mode -- the relevant subwindows are smaller, or have been made smaller just before.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48635.
-
- 25 Jul, 2016 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 24 Jul, 2016 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
It will be initialized when a new code is started.
-
David Lawrence Ramsey authored
This fulfills https://savannah.gnu.org/bugs/?48154.
-
Benno Schulenberg authored
And hard-bind the keys Ctrl+Up and Ctrl+Down to these functions. Unlike the paragraph-jumping code, these new functions disregard any indentation, treating only blank lines as separators. They also do an automatic smart home when that option is set. This fulfills https://savannah.gnu.org/bugs/?48291.
-
Benno Schulenberg authored
The bug with a leading wide character has been fixed since ncurses-5.9. See https://savannah.gnu.org/bugs/?31743 for reference.
-
- 22 Jul, 2016 1 commit
-
-
Benno Schulenberg authored
-