[PATCH] Cygwin: console: Fix a bug in the code to fix tab position.
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Apr 19 14:19:47 GMT 2021
On Apr 19 19:31, Takashi Yano wrote:
> - With this patch, a bug in the code to fix tab position after
> resizing window is fixed.
> ---
> winsup/cygwin/fhandler_console.cc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
> index 43e404ed6..0812e91f0 100644
> --- a/winsup/cygwin/fhandler_console.cc
> +++ b/winsup/cygwin/fhandler_console.cc
> @@ -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);
> }
> --
> 2.31.1
Pushed.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list