Show More
@@ -144,8 +144,11 b' def _terminfosetup(ui, mode):' | |||||
144 | ui.debug("no terminfo entry for %s\n" % e) |
|
144 | ui.debug("no terminfo entry for %s\n" % e) | |
145 | del _terminfo_params[key] |
|
145 | del _terminfo_params[key] | |
146 | if not curses.tigetstr('setaf') or not curses.tigetstr('setab'): |
|
146 | if not curses.tigetstr('setaf') or not curses.tigetstr('setab'): | |
147 | ui.warn(_("no terminfo entry for setab/setaf: reverting to " |
|
147 | # Only warn about missing terminfo entries if we explicitly asked for | |
148 | "ECMA-48 color\n")) |
|
148 | # terminfo mode. | |
|
149 | if mode == "terminfo": | |||
|
150 | ui.warn(_("no terminfo entry for setab/setaf: reverting to " | |||
|
151 | "ECMA-48 color\n")) | |||
149 | _terminfo_params = {} |
|
152 | _terminfo_params = {} | |
150 |
|
153 | |||
151 | def _modesetup(ui, opts): |
|
154 | def _modesetup(ui, opts): |
General Comments 0
You need to be logged in to leave comments.
Login now