- 25 Jun, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 23 Jun, 2017 7 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
They can be given at the prompt, so it's better to accept them on the command line too.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also improve some comments.
-
Benno Schulenberg authored
-
- 22 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
And rename the function while there anyway.
-
- 20 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
A recent change (8dffb00f) removed this ability. This change restores it, and also allows reading from standard input multiple times -- maybe not useful, but it works.
-
- 18 Jun, 2017 6 commits
-
-
Benno Schulenberg authored
Also, conditionalize a statement that is only effective when multiple file buffers are available.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, shorten two variable names.
-
Benno Schulenberg authored
This reduction is possible since the routine no longer loops when it encounters a +NUMBER argument.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also when a dash is the first "file" mentioned on the command line, nano should show this buffer at startup and not the next. This fixes https://savannah.gnu.org/bugs/?51207.
-
- 08 Jun, 2017 2 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51208.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51206.
-
- 07 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
Reading from standard input is a purely sequential affair -- no need to split it into two functions.
-
- 06 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 04 Jun, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In the tiny version, Ctrl+Left and Ctrl+Right are available only in the editor itself and in the file browser. This fixes https://savannah.gnu.org/bugs/?51173.
-
- 02 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
The old praxis of calling total_refresh() upon a SIGCONT was confusing, because the screen would look as if nano had returned from suspension, but in fact the shell was still active. Instead of calling total_refresh(), put a no-op key into ncurses' buffer, so that, when nano actually does return out of suspension (through 'fg'), this key will be read and discarded, upon which nano will go sit and wait for the next key, just before which it calls doupdate(). The latter is all we need to get the entire screen restored. This also fixes https://savannah.gnu.org/bugs/?51131 for "tiny".
-
- 31 May, 2017 3 commits
-
-
Benno Schulenberg authored
This fixes a secondary part of https://savannah.gnu.org/bugs/?51124.
-
Benno Schulenberg authored
When receiving a SIGCONT, don't call regenerate_screen() directly but act as if a SIGWINCH occurred. Also insert a dummy key, and thus let the relevant input routine redraw the relevant subwindows. Use KEY_F0 as the dummy key, as both Ncurses and Slang know it, and it should normally do nothing at all. This fixes https://savannah.gnu.org/bugs/?51124.
-
Benno Schulenberg authored
When we are in the file browser, browser_refresh() will take care of redrawing the title bar and the file list, so total_refresh() should leave those two subwindows alone in that case. This fixes https://savannah.gnu.org/bugs/?51147.
-
- 29 May, 2017 3 commits
-
-
Benno Schulenberg authored
Achieve this by making the suppression flag global, so that we can just reset it instead of making an improper call of do_cursorpos(). This fixes the secondary part of https://savannah.gnu.org/bugs/?51134.
-
Benno Schulenberg authored
Also, remove a useless assert.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51134.
-
- 24 May, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This has been done already during signal_init().
-
- 23 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 21 May, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 19 May, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-