summaryrefslogtreecommitdiff
path: root/ttystatus/tty.py
diff options
context:
space:
mode:
Diffstat (limited to 'ttystatus/tty.py')
-rw-r--r--ttystatus/tty.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/ttystatus/tty.py b/ttystatus/tty.py
index db0962a..83561b6 100644
--- a/ttystatus/tty.py
+++ b/ttystatus/tty.py
@@ -57,10 +57,13 @@ class PhysicalTerminal(object):
assert self._cud is not None
return self._cud
- def get_erase_line_sequence(self):
+ def get_carriage_return_sequence(self):
assert self._cr is not None
+ return self._cr
+
+ def get_erase_line_sequence(self):
assert self._el is not None
- return self._cr + self._el
+ return self._el
def get_size(self):
'''Return width, height of terminal in characters, rows.