Skip to content

Commit 467be33

Browse files
remove abbreviations
really shouldn't be part of this pull request, and not ready anyway --HG-- branch : scroll-frontend
1 parent 98847c4 commit 467be33

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

bpython/scrollfrontend/abbreviate.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

bpython/scrollfrontend/repl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
from bpython.scrollfrontend.manual_readline import char_sequences as rl_char_sequences
2727
from bpython.scrollfrontend.manual_readline import get_updated_char_sequences
28-
from bpython.scrollfrontend.abbreviate import substitute_abbreviations
2928
from bpython.scrollfrontend.interaction import StatusBar
3029
from bpython.scrollfrontend import sitefix; sitefix.monkeypatch_quit()
3130
import bpython.scrollfrontend.replpainter as paint
@@ -410,7 +409,6 @@ def add_normal_character(self, char):
410409
if self.config.cli_trim_prompts and self._current_line.startswith(">>> "):
411410
self._current_line = self._current_line[4:]
412411
self.cursor_offset_in_line = max(0, self.cursor_offset_in_line - 4)
413-
self.cursor_offset_in_line, self._current_line = substitute_abbreviations(self.cursor_offset_in_line, self._current_line)
414412
#TODO deal with characters that take up more than one space? do we care?
415413

416414
def update_completion(self, tab=False):

0 commit comments

Comments
 (0)