I wonder if there is a way to detect this condition in a function.
I can't just check the value of $COLUMNS since it isn't reported correctly.

On Fri, Sep 1, 2017 at 8:13 AM, Greg Reagle <greg.rea...@umbc.edu> wrote:

> On Fri, Sep 1, 2017, at 08:52, Mark Volkmann wrote:
> > I'm working in iTerm2 on a Mac.
> > Entering "echo $COLUMNS" gives the correct value at most window widths.
> > However, if the width is less than 20, it always reports 80.
> > Can anyone else reproduce this issue?
>
> Yes I can reproduce. I am using fish 2.6.0-1 (i386) on Debian 8.9.
>
> <W> fish: Current terminal parameters
> set terminal size to unreasonable value.
> <W> fish: Defaulting terminal size to
> 80x24.
> greg@t400 ~> echo $echo $COLUMNS $LINES
> 80 24
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>



-- 
R. Mark Volkmann
Object Computing, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to