]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ui/ncurses: Update ncurses ui to accept configParams
authorAndy Voltz <andy.voltz@timesys.com>
Fri, 19 Dec 2014 16:31:37 +0000 (11:31 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Dec 2014 17:29:18 +0000 (17:29 +0000)
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/ncurses.py

index b6c20ec388c21d45854fa28f48d2211ae57122b1..9589a77d75c383c5034f6c44f591c1868123c598 100644 (file)
@@ -361,13 +361,13 @@ class NCursesUI:
                 shutdown = shutdown + 1
                 pass
 
-def main(server, eventHandler):
+def main(server, eventHandler, params):
     if not os.isatty(sys.stdout.fileno()):
         print("FATAL: Unable to run 'ncurses' UI without a TTY.")
         return
     ui = NCursesUI()
     try:
-        curses.wrapper(ui.main, server, eventHandler)
+        curses.wrapper(ui.main, server, eventHandler, params)
     except:
         import traceback
         traceback.print_exc()