Show More
@@ -14,6 +14,8 b' class Prompts(object):' | |||||
14 | self.shell = shell |
|
14 | self.shell = shell | |
15 |
|
15 | |||
16 | def vi_mode(self): |
|
16 | def vi_mode(self): | |
|
17 | if not hasattr(self.shell.pt_app, 'editing_mode'): | |||
|
18 | return '' | |||
17 | if self.shell.pt_app.editing_mode == 'VI': |
|
19 | if self.shell.pt_app.editing_mode == 'VI': | |
18 | return '['+str(self.shell.pt_app.app.vi_state.input_mode)[3:6]+'] ' |
|
20 | return '['+str(self.shell.pt_app.app.vi_state.input_mode)[3:6]+'] ' | |
19 | return '' |
|
21 | return '' |
General Comments 0
You need to be logged in to leave comments.
Login now