4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00

Cygwin: console: Fix a bug in the code to fix tab position.

- With this patch, a bug in the code to fix tab position after
  resizing window is fixed.
This commit is contained in:
Takashi Yano 2021-04-19 19:31:51 +09:00 committed by Corinna Vinschen
parent 456c3a4638
commit a648c15309

View File

@ -308,7 +308,7 @@ fhandler_console::cons_master_thread (handle_set_t *p, tty *ttyp)
/* Re-setting ENABLE_VIRTUAL_TERMINAL_PROCESSING
fixes the tab position. */
set_output_mode (tty::restore, &ti, p);
set_input_mode (tty::cygwin, &ti, p);
set_output_mode (tty::cygwin, &ti, p);
}
ttyp->kill_pgrp (SIGWINCH);
}