1
1

Switching the cursor on in the right place: in the central input routine.

This makes the cursor visible again during linting.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5628 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
Benno Schulenberg 2016-02-10 20:16:50 +00:00
родитель fddad2636d
Коммит b8e0e22d64
3 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -7,6 +7,8 @@
proper range to be rebound. This fixes Savannah bug #47025. proper range to be rebound. This fixes Savannah bug #47025.
* THANKS: Add a Spanish, a Catalan, and a Croat translator. * THANKS: Add a Spanish, a Catalan, and a Croat translator.
* AUTHORS, THANKS: Remove SVN Id tags and a duplication. * AUTHORS, THANKS: Remove SVN Id tags and a duplication.
* src/winio.c (get_kbinput), src/nano.c (main): Switch the cursor on
in the right place: in the central input routine.
2016-02-09 Benno Schulenberg <bensberg@justemail.net> 2016-02-09 Benno Schulenberg <bensberg@justemail.net>
* src/files.c (stat_with_alloc, open_buffer, write_file): Check the * src/files.c (stat_with_alloc, open_buffer, write_file): Check the

Просмотреть файл

@ -1604,9 +1604,6 @@ int do_input(bool allow_funcs)
const sc *s; const sc *s;
bool have_shortcut; bool have_shortcut;
/* Turn the cursor on when waiting for input. */
curs_set(1);
/* Read in a character. */ /* Read in a character. */
input = get_kbinput(edit); input = get_kbinput(edit);

Просмотреть файл

@ -311,6 +311,9 @@ int get_kbinput(WINDOW *win)
{ {
int kbinput; int kbinput;
/* Turn the cursor on when waiting for input. */
curs_set(1);
/* Read in a character and interpret it. Continue doing this until /* Read in a character and interpret it. Continue doing this until
* we get a recognized value or sequence. */ * we get a recognized value or sequence. */
while ((kbinput = parse_kbinput(win)) == ERR) while ((kbinput = parse_kbinput(win)) == ERR)