You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in the 2.4.1 release notes, dropping a note here because we are using the following:
var sz = new CLibrary.WinSize();
CLibrary.ioctl(fd, CLibrary.TIOCGWINSZ, sz);
var tty = CLibrary.ttyname(fd);
It would be great if there is an official way to get the tty name, width and height. We need those to do some fancy output stuff (line breaking, spinners, scrolling) and to check if stdin, stdout and stderr are the same terminal or not to avoid some of our fancy things going haywire.
As mentioned in the 2.4.1 release notes, dropping a note here because we are using the following:
var sz = new CLibrary.WinSize();
CLibrary.ioctl(fd, CLibrary.TIOCGWINSZ, sz);
var tty = CLibrary.ttyname(fd);
It would be great if there is an official way to get the tty name, width and height. We need those to do some fancy output stuff (line breaking, spinners, scrolling) and to check if stdin, stdout and stderr are the same terminal or not to avoid some of our fancy things going haywire.
I'm really considering merging Jansi into JLine to ease the maintenance of both projects.
Proposed PR in jline/jline3#871
The text was updated successfully, but these errors were encountered: