Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh always resets LINES to 24.



Zoltan Hidvegi wrote:
>The patch below is an attempt to cure this.  When you manually set
>LINES or COLUMNS to something which is different from the last value
>returned by TIOCGWINSZ, zsh will not touch it unless it receives a real
>SIGWINCH signal.  I hope this helps.  If anyone has a better solution,
>please tell me.

Better solution: when setting LINES or COLUMNS, use the appropriate
ioctl to set the tty window size to the user-specified value.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author