mirror of https://github.com/MidnightCommander/mc
Escape sequences are no more used on OS2_NT
This commit is contained in:
parent
95ac574288
commit
0bfe2e0f77
12
src/cmd.c
12
src/cmd.c
|
@ -914,10 +914,8 @@ view_other_cmd (void)
|
|||
if (clear_before_exec)
|
||||
clr_scr ();
|
||||
#endif
|
||||
|
||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
||||
fprintf (stdout, "\033>"); fflush (stdout);
|
||||
}
|
||||
|
||||
numeric_keypad_mode ();
|
||||
#ifndef HAVE_SLANG
|
||||
/* With slang we don't want any of this, since there
|
||||
* is no mc_raw_mode supported
|
||||
|
@ -953,10 +951,8 @@ view_other_cmd (void)
|
|||
|
||||
if (!status_using_ncurses)
|
||||
do_enter_ca_mode ();
|
||||
|
||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
||||
fprintf (stdout, "\033="); fflush (stdout);
|
||||
}
|
||||
|
||||
application_keypad_mode ();
|
||||
reset_prog_mode ();
|
||||
keypad(stdscr, TRUE);
|
||||
#ifndef HAVE_X
|
||||
|
|
|
@ -63,9 +63,7 @@ edition_post_exec (void)
|
|||
channels_up ();
|
||||
if (use_mouse_p)
|
||||
init_mouse ();
|
||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
||||
fprintf (stdout, "\033="); fflush (stdout);
|
||||
}
|
||||
application_keypad_mode ();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -86,9 +84,7 @@ edition_pre_exec (void)
|
|||
keypad (stdscr, FALSE);
|
||||
endwin ();
|
||||
|
||||
if (alternate_plus_minus && (console_flag || xterm_flag)) {
|
||||
fprintf (stdout, "\033>"); fflush (stdout);
|
||||
}
|
||||
numeric_keypad_mode ();
|
||||
|
||||
/* on xterms: maybe endwin did not leave the terminal on the shell
|
||||
* screen page: do it now.
|
||||
|
|
Loading…
Reference in New Issue