Show More
@@ -41,11 +41,11 b' def userrcpath():' | |||
|
41 | 41 | else: |
|
42 | 42 | return [os.path.expanduser('~/.hgrc')] |
|
43 | 43 | |
|
44 | def termwidth(): | |
|
44 | def termwidth(ui): | |
|
45 | 45 | try: |
|
46 | 46 | import array |
|
47 | 47 | import termios |
|
48 |
for dev in ( |
|
|
48 | for dev in (ui.ferr, ui.fout, ui.fin): | |
|
49 | 49 | try: |
|
50 | 50 | try: |
|
51 | 51 | fd = dev.fileno() |
General Comments 0
You need to be logged in to leave comments.
Login now