Commit Graph

4 Commits

Author SHA1 Message Date
Tim Culverhouse c5c66b8427 tty: modify WindowSize method to return windowsize object
Modify the WindowSize method of the Tty interface to return a WindowSize
object. This object includes the window size in pixels, for use in
direct drawing of sixels. Terminals that do not support this feature
will have pixel sizes of 0,0.
2023-08-15 06:57:42 -07:00
Garrett D'Amore 85d85c15ba Minor comment fixups. 2022-12-17 09:16:24 -08:00
Garrett D'Amore d25117a2e5 Go fmt for the project. 2022-08-31 11:37:42 -07:00
Garrett D'Amore 15d485cfb5 Add a stdin version of Tty, and handle unset terminal sizes sanely. 2021-06-07 12:58:03 -07:00