Closed h5rdly closed 2 years ago
Thanks! This looks good to me, other than the linter failure. Could you take a look?
AFAICT, get_terminal_size
is available on Py3 unconditionally, given the lack of version numbers here.
Thanks!
My bad, removed unused import struct
.
get_terminal_size()
works on 3.6
+, can't vouch for earlier versions :)
Hi,
A small PR to swap out the usage of
fcntl
/termios
withos.get_terminal_size()
.I was hoping to try and help make
pudb
cross-platform, this looks like a first step :)Thanks, Eli