aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-20 10:14:50 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-20 10:14:50 +0200
commit4d2ec9a069a509be1ed713fd8d394f117bea3774 (patch)
treee0edce01a2234d07786835fec473a2e3d4f75a14 /src
parentdoc param that as not doc:ed (diff)
downloadpytagomacs-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')
-rw-r--r--src/editor.py1
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