The typical IOCTL with TIOCGWINSZ to request and TIOCSWINSZ to change the terminal size support two more settings beside cols and rows - xpixel and ypixel.
Would be nice if node-pty also reports/updates those on platforms that support it. This is used by several emulators to inform a slave application about the current screen size (triggered by a WINCH signal).
@Tyriar Not by sixel directly, but could be used by the slave app to determine the actual cell size in pixel which might come handy for graphics output like sixel, yeah.
The typical IOCTL with TIOCGWINSZ to request and TIOCSWINSZ to change the terminal size support two more settings beside
cols
androws
-xpixel
andypixel
.Would be nice if
node-pty
also reports/updates those on platforms that support it. This is used by several emulators to inform a slave application about the current screen size (triggered by a WINCH signal).