per OBATA Akio's patch with a few tweaks by me, add wnoutrefresh() calls
after reset_(statusbar_)?cursor() calls, to ensure that the cursor is placed properly when using NetBSD curses git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4185 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
a9c0000ada
Коммит
98958e83c9
@ -1,3 +1,11 @@
|
||||
2007-12-04 David Lawrence Ramsey <pooka109@gmail.com>
|
||||
|
||||
* nano.c (main), prompt.c (get_prompt_string), winio.c
|
||||
(do_replace_highlight): Per OKATA Akio's patch, with minor
|
||||
tweaks by me, add wnoutrefresh() calls after
|
||||
reset_(statusbar_)?cursor() calls, to ensure that the cursor is
|
||||
placed properly when using NetBSD curses.
|
||||
|
||||
2007-11-29 Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org>
|
||||
|
||||
* doc/man/fr/*.1, doc/man/fr/nanorc.5: Fix copyright notices.
|
||||
|
@ -2267,6 +2267,7 @@ int main(int argc, char **argv)
|
||||
|
||||
/* Make sure the cursor is in the edit window. */
|
||||
reset_cursor();
|
||||
wnoutrefresh(edit);
|
||||
|
||||
#ifndef NANO_TINY
|
||||
if (!jump_buf_main) {
|
||||
|
@ -1116,6 +1116,7 @@ int get_prompt_string(bool allow_tabs,
|
||||
#endif
|
||||
|
||||
reset_statusbar_cursor();
|
||||
wnoutrefresh(bottomwin);
|
||||
}
|
||||
|
||||
#ifndef NANO_TINY
|
||||
|
@ -3260,6 +3260,7 @@ void do_replace_highlight(bool highlight, const char *word)
|
||||
y--;
|
||||
|
||||
reset_cursor();
|
||||
wnoutrefresh(edit);
|
||||
|
||||
if (highlight)
|
||||
wattron(edit, reverse_attr);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user