Remove echoing.
Print in ascending order instead of descending order.
Remove useless assert() call.
Implement moving highlighted line up and down.
Remove useless code.
Refactoring.
Improve error handling: release ncurses, then print the err msg on the std ouput.
Fix init or var.
Choose better color scheme.