mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 00:38:06 +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:
parent
456c3a4638
commit
a648c15309
@ -308,7 +308,7 @@ fhandler_console::cons_master_thread (handle_set_t *p, tty *ttyp)
|
|||||||
/* Re-setting ENABLE_VIRTUAL_TERMINAL_PROCESSING
|
/* Re-setting ENABLE_VIRTUAL_TERMINAL_PROCESSING
|
||||||
fixes the tab position. */
|
fixes the tab position. */
|
||||||
set_output_mode (tty::restore, &ti, p);
|
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);
|
ttyp->kill_pgrp (SIGWINCH);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user