parent
884eecfe6e
commit
52d645a96f
|
@ -46,6 +46,19 @@ class XTermBuffer(Buffer, XTerm):
|
|||
def term_do_clear(self):
|
||||
self.set_lines([''], force=True)
|
||||
self._meta = []
|
||||
def term_do_clear_bol(self):
|
||||
w = self._w()
|
||||
p1, p2 = w.get_line_left()
|
||||
self.delete(p1, p2, force=True)
|
||||
self._meta = []
|
||||
def term_do_clear_eol(self):
|
||||
w = self._w()
|
||||
p1, p2 = w.get_line_right()
|
||||
self.delete(p1, p2, force=True)
|
||||
self._meta = []
|
||||
def term_do_clear_eos(self):
|
||||
self._meta = []
|
||||
|
||||
def term_do_backspace(self):
|
||||
self._w().backward()
|
||||
def term_do_tab(self):
|
||||
|
|
Loading…
Reference in New Issue