From 1d5d75bf619f35d252d11bbc836760aa9a2c4287 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 10 Sep 2013 09:54:12 +0200 Subject: prepare for short screens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/editor.py') 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() -- cgit v1.2.3-70-g09d2