diff options
author | hut <hut@lavabit.com> | 2013-03-17 21:03:38 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-03-17 21:03:38 +0100 |
commit | d7f3d7dc8631abe931a1205f12d7f11e9929f1fb (patch) | |
tree | 66702f65c728fc857c4a17399ac92b5c0aab702b /ranger | |
parent | e7930f43811773deffdbf8bb81fae273f0c1dafc (diff) | |
download | ranger-d7f3d7dc8631abe931a1205f12d7f11e9929f1fb.tar.gz |
gui.ui: remove curses.setupterm() instruction
it was added in commit b34807bd428bbe7bb40e8798af17f0f4cf5ecf1f ("gui.ui: more portable terminal title support") and I don't know why anymore. It seems to work perfectly without it. Keeping it seems to cause broken terminals on some systems though. see also: http://bugs.python.org/issue7567 http://lists.nongnu.org/archive/html/ranger-users/2013-03/msg00046.html
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/ui.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index b2db6975..5c40509c 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -81,7 +81,6 @@ class UI(DisplayableContainer): self.setup() self.win.addstr("loading...") self.win.refresh() - curses.setupterm() self._draw_title = curses.tigetflag('hs') # has_status_line self.update_size() self.is_on = True |