mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
...
This commit is contained in:
parent
799ba8d178
commit
9700a96f02
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ code to demonstrate its use
|
|||
buf = array.array('H', [0, 0, 0, 0])
|
||||
fcntl.ioctl(sys.stdout, termios.TIOCGWINSZ, buf)
|
||||
print((
|
||||
'number of rows: {} number of columns: {}'
|
||||
'number of rows: {} number of columns: {} '
|
||||
'screen width: {} screen height: {}').format(*buf))
|
||||
|
||||
.. tab:: Go
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue