diff options
| -rw-r--r-- | src/editor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.py b/src/editor.py index 9b31b84..25776a2 100644 --- a/src/editor.py +++ b/src/editor.py @@ -153,6 +153,7 @@ class TextArea(): self.old_stty = self.old_stty.decode('utf-8', 'error')[:-1] Popen('stty -icanon -echo -isig -ixon -ixoff'.split(' '), stdout = PIPE).communicate() + def close(self): ''' Restore the terminal to the state before `initialise` as invoked |
