node-pty
node-pty copied to clipboard
Consider applying screen size in pty.resize
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).
@jerch is this used by sixel?
@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.