aboutsummaryrefslogtreecommitdiffstats
path: root/src/editor.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-10 09:54:12 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-10 09:54:12 +0200
commit1d5d75bf619f35d252d11bbc836760aa9a2c4287 (patch)
treeae02c2ad99301d561d8e415d6484d4fa444dd737 /src/editor.py
parentdefault field entry to empty string (diff)
downloadpytagomacs-1d5d75bf619f35d252d11bbc836760aa9a2c4287.tar.gz
pytagomacs-1d5d75bf619f35d252d11bbc836760aa9a2c4287.tar.bz2
pytagomacs-1d5d75bf619f35d252d11bbc836760aa9a2c4287.tar.xz
prepare for short screens
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/editor.py')
-rw-r--r--src/editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.py b/src/editor.py
index a64a63f..d0d2e18 100644
--- a/src/editor.py
+++ b/src/editor.py
@@ -625,7 +625,7 @@ old_stty = Popen('stty --save'.split(' '), stdout = PIPE).communicate()[0]
old_stty = old_stty.decode('utf-8', 'error')[:-1]
Popen('stty -icanon -echo -isig -ixon -ixoff'.split(' '), stdout = PIPE).communicate()
try:
- TextArea(['alpha', 'beta'], {}, 1, 1, 20, 4).run(phonysaver, phonypreredraw, phonypostredraw)
+ TextArea(('a be se de e eff ge hå i ji kå ell emm enn o pe ku ärr ess te u ve dubble-ve eks y säta å ä ö').split(' '), {}, 1, 1, 20, 10).run(phonysaver, phonypreredraw, phonypostredraw)
finally:
print('\033[H\033[2J', end = '')
sys.stdout.flush()