GeezerVison is showing github.com — Resetting debugging-oriented changes · SivanSong/bpython@e04e0f2
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/repl.py -7Lines changed: 0 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -967,24 +967,19 @@ def toggle_file_watch(self): |
967 | 967 |
|
968 | 968 | # Handler Helpers |
969 | 969 | def add_normal_character(self, char): |
970 | | - print("Char is :" + str(char)) |
971 | 970 | if len(char) > 1 or is_nop(char): |
972 | 971 | return |
973 | 972 | if self.incr_search_mode: |
974 | 973 | print("Incr search mode") |
975 | 974 | self.add_to_incremental_search(char) |
976 | 975 | else: |
977 | | - print("In here current line: " + self.current_line) |
978 | | - |
979 | 976 | self._set_current_line((self.current_line[:self.cursor_offset] + |
980 | 977 | char + |
981 | 978 | self.current_line[self.cursor_offset:]), |
982 | 979 | update_completion=False, |
983 | 980 | reset_rl_history=False, |
984 | 981 | clear_special_mode=False) |
985 | 982 | self.cursor_offset += 1 |
986 | | - |
987 | | - print("but here: " + self.current_line) |
988 | 983 | if (self.config.cli_trim_prompts and |
989 | 984 | self.current_line.startswith(self.ps1)): |
990 | 985 | self.current_line = self.current_line[4:] |
@@ -1036,7 +1031,6 @@ def push(self, line, insert_into_history=True): |
1036 | 1031 |
|
1037 | 1032 | If the interpreter successfully runs the code, clear the buffer |
1038 | 1033 | """ |
1039 | | - |
1040 | 1034 | if self.paste_mode: |
1041 | 1035 | self.saved_indent = 0 |
1042 | 1036 | else: |
@@ -1203,7 +1197,6 @@ def current_line_formatted(self): |
1203 | 1197 | self.old_fs = fs |
1204 | 1198 | return fs |
1205 | 1199 |
|
1206 | | - |
1207 | 1200 | @property |
1208 | 1201 | def lines_for_display(self): |
1209 | 1202 | """All display lines (wrapped, colored, with prompts)""" |
|