diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-20 10:14:50 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-20 10:14:50 +0200 |
| commit | 4d2ec9a069a509be1ed713fd8d394f117bea3774 (patch) | |
| tree | e0edce01a2234d07786835fec473a2e3d4f75a14 /src/editor.py | |
| parent | doc param that as not doc:ed (diff) | |
| download | pytagomacs-4d2ec9a069a509be1ed713fd8d394f117bea3774.tar.gz pytagomacs-4d2ec9a069a509be1ed713fd8d394f117bea3774.tar.bz2 pytagomacs-4d2ec9a069a509be1ed713fd8d394f117bea3774.tar.xz | |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/editor.py')
| -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 |
