Sun Apr 12 02:24:57 1998 Norbert Warmuth <k3190@fh-sw.de>
* text.c (edition_post_exec), cmd.c (view_other_cmd): Don't change the keypad mode when we don't use the alternate plus minus. Pavel forgot an if-clause when he replaced the escape sequences (or another point of view: I forgot one if-clause at different place).
Этот коммит содержится в:
родитель
17c155a00f
Коммит
6495812153
@ -1,3 +1,10 @@
|
|||||||
|
Sun Apr 12 02:24:57 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||||||
|
|
||||||
|
* text.c (edition_post_exec), cmd.c (view_other_cmd): Don't change
|
||||||
|
the keypad mode when we don't use the alternate plus minus. Pavel
|
||||||
|
forgot an if-clause when he replaced the escape sequences (or
|
||||||
|
another point of view: I forgot one if-clause at different place).
|
||||||
|
|
||||||
Fri Apr 10 17:35:23 1998 Philippe De Muyter <phdm@macqel.be>
|
Fri Apr 10 17:35:23 1998 Philippe De Muyter <phdm@macqel.be>
|
||||||
|
|
||||||
* configure.in (AC_NCURSES): When checking for library location,
|
* configure.in (AC_NCURSES): When checking for library location,
|
||||||
|
@ -914,7 +914,7 @@ view_other_cmd (void)
|
|||||||
if (clear_before_exec)
|
if (clear_before_exec)
|
||||||
clr_scr ();
|
clr_scr ();
|
||||||
#endif
|
#endif
|
||||||
|
if (alternate_plus_minus)
|
||||||
numeric_keypad_mode ();
|
numeric_keypad_mode ();
|
||||||
#ifndef HAVE_SLANG
|
#ifndef HAVE_SLANG
|
||||||
/* With slang we don't want any of this, since there
|
/* With slang we don't want any of this, since there
|
||||||
@ -952,6 +952,7 @@ view_other_cmd (void)
|
|||||||
if (!status_using_ncurses)
|
if (!status_using_ncurses)
|
||||||
do_enter_ca_mode ();
|
do_enter_ca_mode ();
|
||||||
|
|
||||||
|
if (alternate_plus_minus)
|
||||||
application_keypad_mode ();
|
application_keypad_mode ();
|
||||||
reset_prog_mode ();
|
reset_prog_mode ();
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
|
@ -63,6 +63,7 @@ edition_post_exec (void)
|
|||||||
channels_up ();
|
channels_up ();
|
||||||
if (use_mouse_p)
|
if (use_mouse_p)
|
||||||
init_mouse ();
|
init_mouse ();
|
||||||
|
if (alternate_plus_minus)
|
||||||
application_keypad_mode ();
|
application_keypad_mode ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user