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