Show More
@@ -196,7 +196,7 b' def _terminfosetup(ui, mode):' | |||||
196 | '''Initialize terminfo data and the terminal if we're in terminfo mode.''' |
|
196 | '''Initialize terminfo data and the terminal if we're in terminfo mode.''' | |
197 |
|
197 | |||
198 | # If we failed to load curses, we go ahead and return. |
|
198 | # If we failed to load curses, we go ahead and return. | |
199 | if not color._terminfo_params: |
|
199 | if curses is None: | |
200 | return |
|
200 | return | |
201 | # Otherwise, see what the config file says. |
|
201 | # Otherwise, see what the config file says. | |
202 | if mode not in ('auto', 'terminfo'): |
|
202 | if mode not in ('auto', 'terminfo'): |
General Comments 0
You need to be logged in to leave comments.
Login now