- 13 Jul, 2016 3 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48455.
-
Benno Schulenberg authored
When the user changes her mind after having pressed Esc, she cannot unpress Esc, so do that for her by ignoring the escape code when the subsequent keycode is outside of the normal printable range. This restores the behavior from before nano-2.3.5 -- except that Ctrl+Alt+key continues to report an unbound key. This fixes https://savannah.gnu.org/bugs/?48459.
-
Benno Schulenberg authored
This prevents many keycode sequences from being misconstrued when a command key plus other keystrokes accumulate in the input buffer. This fixes https://savannah.gnu.org/bugs/?48395.
-
- 12 Jul, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Color-pair numbers and attributes can be OR'd together -- do so, to save an attron() call whenever the hilite is on.
-
- 10 Jul, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also condense some comments, and group keys with the same result together.
-
Benno Schulenberg authored
Add them so that <Esc> followed by <Home> will simply do "Home" instead of reporting an unbound key. The same for <End>, <PageUp> and <PageDown>. This restores the behavior from before nano-2.3.5.
-
- 30 Jun, 2016 4 commits
-
-
Benno Schulenberg authored
Spaces and tabs and control codes never are multi-column glyphs, so only look up the width for "normal", visible characters.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This avoids having to null-terminate every single-byte character.
-
Benno Schulenberg authored
Just allocate ample space up front and thus discard the delaying 'if' for each and every character. In most cases this will allocate far too much, but that hardly matters: it is freed again as soon as the line is printed.
-
- 29 Jun, 2016 3 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48125. (The fix is slightly wasteful; speeding things up will follow later.)
-
Benno Schulenberg authored
Any control character is represented by a ^ plus an ASCII character.
-
Benno Schulenberg authored
This fixes the first part of https://savannah.gnu.org/bugs/?48331 . Reported-by:
Mike Frysinger <vapier@gentoo.org>
-
- 27 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?47962 reported by Cody Taylor.
-
- 25 Jun, 2016 4 commits
-
-
Benno Schulenberg authored
Keystrokes are single integers (aided by the flags meta_key and func_key) but in the input stream they can be encoded as escape sequences (a series of bytes). Characters are values in byte range, but in UTF-8 one character can consist of multiple bytes. Also rename two variables, because the secondary input buffer that they refer to contains only characters (mostly just one), never any shortcuts; and there are too many "kbinput" already.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Typing a Unicode code is always finished after at most six characters: either retval == uni or retval == kbinput, but it can't be ERR.
-
Benno Schulenberg authored
-
- 23 Jun, 2016 1 commit
-
-
Jordi Mallach authored
Switch to https and drop the www. prefix for all occurrences of the website URL.
-
- 20 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 01 Jun, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 30 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 23 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 21 May, 2016 1 commit
-
-
Benno Schulenberg authored
Error messages about lock files should not get overwritten by purely informational messages, only by alerting ones. This fixes https://savannah.gnu.org/bugs/?47963.
-
- 18 May, 2016 2 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?47954.
-
Benno Schulenberg authored
-
- 17 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 16 May, 2016 1 commit
-
-
Benno Schulenberg authored
If during startup there are multiple error messages, currently only the last one remains and can be read. To improve on that, introduce a short pause between error messages -- even if it's not enough to read them all, at least the user will be aware that there are multiple ones. This also causes a few error messages to beep that currently don't beep, such as when a file is unwritable.
-
- 15 May, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
CONST_UPDATE is only relevant when in the main menu, not when in the browser. So, check for that condition, instead of saving, changing, and then restoring the setting.
-
Benno Schulenberg authored
CONST_UPDATE does not need to influence the delay for blanking the statusbar; it is enough when it simply prevents it.
-
- 14 May, 2016 1 commit
-
-
Benno Schulenberg authored
When in the browser, typing keys that produce an unknown escape sequence should not switch on the cursor.
-