My 1st post here.
So, I coded a program using NCURSES library (version 5.9) -- it is a text editor.
Please, do not laugh! I know there is VIM and all that... This is kind of specialized editor -- a stenography tool.
I tried functions, like raw() and cbreak() to make all key codes...