##// END OF EJS Templates
crecord: fix underbar style for orig_stdout
Matt Mackall -
r24316:d61aa383 default
parent child Browse files
Show More
@@ -31,7 +31,7 b' except NameError:'
31 _('the python curses/wcurses module is not available/installed'))
31 _('the python curses/wcurses module is not available/installed'))
32
32
33
33
34 orig_stdout = sys.__stdout__ # used by gethw()
34 _origstdout = sys.__stdout__ # used by gethw()
35
35
36
36
37
37
@@ -467,7 +467,7 b' def gethw():'
467
467
468 """
468 """
469 h, w = struct.unpack(
469 h, w = struct.unpack(
470 "hhhh", fcntl.ioctl(orig_stdout, termios.TIOCGWINSZ, "\000"*8))[0:2]
470 "hhhh", fcntl.ioctl(_origstdout, termios.TIOCGWINSZ, "\000"*8))[0:2]
471 return h, w
471 return h, w
472
472
473
473
General Comments 0
You need to be logged in to leave comments. Login now