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

Re: 3.0.5: eval `resize` messes up



On May 18, Tatsuo Furukawa wrote:
> 
> Is this problem "If you evaluated `resize`, zsh is not measure
> terminal size"?
 
Yes.  Resize alone seems to corectly meausre the new window size.

> If so, this is normal zsh action. (Your setting is sufficient.)  Zsh
> 3.0.5 trust LINES and COLUMNS.  If you don't set LINES and COLUMNS, zsh
> measures terminal size.  But If you set LINES and COLUMNS, zsh trusts its
> value.  Therefore, if you execute "eval 'resize`", you must always
> execute "eval `resize`" when terminal size is changed.

Setting LINES and COLUMNS is precisely why I use "eval `resize`".  It seems
to work on every other shell except Zsh.  In fact it worked on Zsh 3.0.2.

-Clint



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