Skip to content

Commit

Permalink
Remove debug code from the xterm parser
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Jan 25, 2023
1 parent 99fe61e commit 7df16ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/textual/_xterm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ def reissue_sequence_as_keys(reissue_sequence: str) -> None:
use_prior_escape = False

if bracketed_paste:
print(f"PASTE - APPEND BUFFER - {character!r}")
paste_buffer.append(character)

self.debug_log(f"character={character!r}")
Expand Down Expand Up @@ -191,13 +190,11 @@ def reissue_sequence_as_keys(reissue_sequence: str) -> None:
sequence
)
if bracketed_paste_start_match is not None:
print(f"PASTE - BRACKETED START - {sequence!r}")
bracketed_paste = True
break

bracketed_paste_end_match = _re_bracketed_paste_end.match(sequence)
if bracketed_paste_end_match is not None:
print(f"PASTE - BRACKETED END - {sequence!r}")
bracketed_paste = False
break

Expand Down

0 comments on commit 7df16ae

Please sign in to comment.