ncurses TUI for motor test program