use libtermkey instead of "getch()"

"getch()" does not supports modifier keys such as Ctrl so noa now use
libtermkey to support them.