implement fix for #249

closes #249
This commit is contained in:
Buck Ryan 2018-04-21 16:15:12 -04:00
parent 668a964291
commit 86fd04c7a8

View file

@ -90,7 +90,7 @@ class Powerline(object):
self.cwd = get_valid_cwd()
mode = config.get("mode", "patched")
self.color_template = self.color_templates[args.shell]
self.reset = self.color_template % '[0m'
self.reset = self.color_template % '[0m\]\[\e[0K'
self.lock = Powerline.symbols[mode]['lock']
self.network = Powerline.symbols[mode]['network']
self.separator = Powerline.symbols[mode]['separator']