equal
deleted
inserted
replaced
178 realmode = 'win32' |
178 realmode = 'win32' |
179 else: |
179 else: |
180 realmode = 'ansi' |
180 realmode = 'ansi' |
181 |
181 |
182 if realmode == 'win32': |
182 if realmode == 'win32': |
|
183 _terminfo_params = {} |
183 if not w32effects: |
184 if not w32effects: |
184 if mode == 'win32': |
185 if mode == 'win32': |
185 # only warn if color.mode is explicitly set to win32 |
186 # only warn if color.mode is explicitly set to win32 |
186 ui.warn(_('warning: failed to set color mode to %s\n') % mode) |
187 ui.warn(_('warning: failed to set color mode to %s\n') % mode) |
187 return None |
188 return None |