diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2018-02-10 19:46:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-10 19:46:37 +0000 |
commit | d03cd3f582818651157aa9588e5723cdaa81dc3e (patch) | |
tree | 4eec0b1d29370a36759300c5dcb5cd61c77e5b92 /alot/ui.py | |
parent | 7091048adf3e4455fb2e3adfe27ce1e10165a5e3 (diff) | |
parent | 09c969a8305ff920cece6cdde63ac1a97a210675 (diff) |
Merge pull request #1193 from three-comrades/fix_lang_c
Fix `LANG=C alot` with custom bindings.
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -75,6 +75,9 @@ class UI(object): # alarm handle for callback that clears input queue (to cancel alarm) self._alarm = None + # force urwid to pass key events as unicode, independent of LANG + urwid.set_encoding('utf-8') + # create root widget global_att = settings.get_theming_attribute('global', 'body') mainframe = urwid.Frame(urwid.SolidFill()) |