Escape sequences are no more used on OS2_NT
Этот коммит содержится в:
родитель
95ac574288
Коммит
0bfe2e0f77
12
src/cmd.c
12
src/cmd.c
@ -914,10 +914,8 @@ view_other_cmd (void)
|
|||||||
if (clear_before_exec)
|
if (clear_before_exec)
|
||||||
clr_scr ();
|
clr_scr ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
numeric_keypad_mode ();
|
||||||
fprintf (stdout, "\033>"); fflush (stdout);
|
|
||||||
}
|
|
||||||
#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
|
||||||
* is no mc_raw_mode supported
|
* is no mc_raw_mode supported
|
||||||
@ -953,10 +951,8 @@ view_other_cmd (void)
|
|||||||
|
|
||||||
if (!status_using_ncurses)
|
if (!status_using_ncurses)
|
||||||
do_enter_ca_mode ();
|
do_enter_ca_mode ();
|
||||||
|
|
||||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
application_keypad_mode ();
|
||||||
fprintf (stdout, "\033="); fflush (stdout);
|
|
||||||
}
|
|
||||||
reset_prog_mode ();
|
reset_prog_mode ();
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
#ifndef HAVE_X
|
#ifndef HAVE_X
|
||||||
|
@ -63,9 +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 && (console_flag || xterm_flag)) {
|
application_keypad_mode ();
|
||||||
fprintf (stdout, "\033="); fflush (stdout);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -86,9 +84,7 @@ edition_pre_exec (void)
|
|||||||
keypad (stdscr, FALSE);
|
keypad (stdscr, FALSE);
|
||||||
endwin ();
|
endwin ();
|
||||||
|
|
||||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
numeric_keypad_mode ();
|
||||||
fprintf (stdout, "\033>"); fflush (stdout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* on xterms: maybe endwin did not leave the terminal on the shell
|
/* on xterms: maybe endwin did not leave the terminal on the shell
|
||||||
* screen page: do it now.
|
* screen page: do it now.
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user