Using C Dynamic Libraries In Go Programs
goinggo.net
goinggo.net
cat /dev/fd/0
then type some things including backspace and enter.However, you don't need ncurses to change this behavior. termios is the lower-level C API. You can do it from Go with the syscall APIs but I suspect it might be frustrating to make portable. https://code.google.com/p/go/source/browse/ssh/terminal/util...
It's possible to change the mode, but it would require calling the terminal control functions, and that'd requiring calling out to C anyway, so might as well use ncurses.