(self, e)
| 113 | self.add_normal_character(e) |
| 114 | |
| 115 | def add_normal_character(self, e): |
| 116 | if e == "<SPACE>": |
| 117 | e = " " |
| 118 | if len(e) > 1: |
| 119 | return |
| 120 | self._current_line = ( |
| 121 | self._current_line[: self.cursor_offset_in_line] |
| 122 | + e |
| 123 | + self._current_line[self.cursor_offset_in_line :] |
| 124 | ) |
| 125 | self.cursor_offset_in_line += 1 |
| 126 | |
| 127 | def escape(self): |
| 128 | """unfocus from statusbar, clear prompt state, wait for notify call""" |