fix ncurses ui
I decided to give the ncurses ui a try, but found it was broken.
The following patch updates the ncurses module main function to accept the configParams arg passed from bitbake.
PATCH 1/1 update ncurses ui to accept configParams
Signed-off-by Andy Voltz <[email protected]>
--- lib/bb/ui/ncurses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bb/ui/ncurses.py +2 -2
@@ -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()
Signature · 1 line
2.1.3