(self)
| 1058 | self._set_cursor_offset(len(self.current_line), reset_rl_history=False) |
| 1059 | |
| 1060 | def down_one_line(self): |
| 1061 | self.rl_history.enter(self.current_line) |
| 1062 | self._set_current_line( |
| 1063 | tabs_to_spaces( |
| 1064 | self.rl_history.forward( |
| 1065 | False, search=self.config.curtsies_right_arrow_completion |
| 1066 | ) |
| 1067 | ), |
| 1068 | update_completion=False, |
| 1069 | reset_rl_history=False, |
| 1070 | ) |
| 1071 | self._set_cursor_offset(len(self.current_line), reset_rl_history=False) |
| 1072 | |
| 1073 | def process_simple_keypress(self, e: str): |
| 1074 | # '\n' needed for pastes |
no test coverage detected