From d7f3d7dc8631abe931a1205f12d7f11e9929f1fb Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 17 Mar 2013 21:03:38 +0100 Subject: 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 --- ranger/gui/ui.py | 1 - 1 file changed, 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0