[PATCH] Re: propagate font zoom via SIGWINCH

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jul 7 11:41:13 GMT 2021


On Jul  7 11:43, Thomas Wolff wrote:
> Update with more elaborate commit comment, hopefully formatted properly.
> 
> Am 06.07.2021 um 16:09 schrieb Corinna Vinschen:
> > Hi Thomas,
> > 
> > On Jul  3 18:19, Thomas Wolff wrote:
> > > xterm 368 and mintty 3.5.1 implement a new feature to support notification
> > > of terminal scaling via font zooming also if the terminal text dimensions
> > > (rows/columns) stay unchanged, using ioctl(TIOCSWINSZ), raising SIGWINCH.
> > > This does not work in cygwin currently. The attached patch fixes that.
> > > Thomas
> > Can you please put the describing text into the commit message?
> > 
> > 
> > Thanks,
> > Corinna
> 

> Subject: [PATCH] tty/pty: support TIOCSWINSZ pixel-size-only change
>  notification
> 
> xterm 368 and mintty 3.5.1 implement a new feature to support 
> notification of terminal scaling via font zooming also if the terminal 
> text dimensions (rows/columns) stay unchanged, using 
> ioctl(TIOCSWINSZ), raising SIGWINCH;
> this patches cygwin to support that scenario
> 
> ---
>  winsup/cygwin/fhandler_tty.cc | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

Pushed.

Thanks,
Corinna


More information about the Cygwin-patches mailing list