Closed taskwarrior closed 6 years ago
Paul Beckingham on 2009-05-25T21:34:42Z says:
Where possible, calculate terminal width using:
struct winsize win; ioctl(0, TIOCGWINSZ, &win); int width = win.ws_col;
Portability to Cygwin is a concern though, as this is allegedly not supported.
Johan Friis
Migrated metadata:
Created: 2009-05-25T21:34:42Z Modified: 2014-02-09T02:11:52Z
Paul Beckingham on 2009-06-28T14:13:01Z says:
With an interactive task, we can no longer eliminate ncurses.
Paul Beckingham on 2009-05-25T21:34:42Z says:
Where possible, calculate terminal width using:
struct winsize win; ioctl(0, TIOCGWINSZ, &win); int width = win.ws_col;
Portability to Cygwin is a concern though, as this is allegedly not supported.
Johan Friis