Browse Source

Consider backspace printable

master
Jim Paris 9 years ago
parent
commit
87a956e72c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      terminal.py

+ 1
- 1
terminal.py View File

@@ -190,7 +190,7 @@ class Jimterm:

def quote_raw(self, data):
if self.quote_re is None:
matcher = '[^%s]' % re.escape(string.printable)
matcher = '[^%s]' % re.escape(string.printable + "\b")
if sys.version_info < (3,):
self.quote_re = re.compile(matcher)
qf = lambda x: ("\\x%02x" % ord(x.group(0)))


Loading…
Cancel
Save