Use enumeration instead of magical numbers in NCurses code
Correct name: TUI (not GUI) for NCurses