Closed sjmulder closed 5 years ago
This doesn't work for displaying usage info, eg. when running ttyplot -h
. This is because usage() printf()s to curses initialized screen. I'm fine with adding pledge() but perhaps after getopt loop?
Ouch, good catch. I should've tested a bit more.
initscr() is moved up so we don't need rpath for curses accessing its terminal database.