The CLI uses IOCTRL to set input to RAW mode disabling the echo of characters during input. When launching a C application, the system stays in RAW mode affecting scanf() and getchar() calls. As a work around, the C apps need to call IOCTRL to enable echo on input.
Proposal
Prior to launching an app, the CLI should change to Normal mode. This would remove the need of all C programs having to call IOCTRL.
I should have a fix for this. I've also updated the CLI so that there can be a program overriding it both on startup and when a program quits through sys_exit.
Background
The CLI uses IOCTRL to set input to RAW mode disabling the echo of characters during input. When launching a C application, the system stays in RAW mode affecting scanf() and getchar() calls. As a work around, the C apps need to call IOCTRL to enable echo on input.
Proposal
Prior to launching an app, the CLI should change to Normal mode. This would remove the need of all C programs having to call IOCTRL.