[node-patches] Change in ovirt-node[master]: ui: Switch to curses backend

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Mar 4 19:16:56 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ui: Switch to curses backend
......................................................................

ui: Switch to curses backend

Is currently required to run the installer as a systemd service.

Change-Id: I848ec4f592c851185e1399dcab35a7c687b5a92e
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/ui/urwid_builder.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/96/12696/1

diff --git a/scripts/tui/src/ovirt/node/ui/urwid_builder.py b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
index 76d5b1b..c3a1044 100644
--- a/scripts/tui/src/ovirt/node/ui/urwid_builder.py
+++ b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
@@ -21,6 +21,7 @@
 from ovirt.node import ui, exceptions, base
 from ovirt.node.ui import widgets as uw
 import urwid
+import urwid.curses_display
 
 """
 A visitor to build the urwid TUI from the abstract UI definitions.
@@ -446,7 +447,8 @@
 
         self.__loop = urwid.MainLoop(self.__main_frame,
                                      self._convert_palette(),
-                                     input_filter=self.__filter_hotkeys)
+                                     input_filter=self.__filter_hotkeys,
+                                     screen=urwid.curses_display.Screen())
 
         self.navigate.to_first_plugin()
 


--
To view, visit http://gerrit.ovirt.org/12696
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I848ec4f592c851185e1399dcab35a7c687b5a92e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list