#include <conio.h>
int main(void)
{
clrscr();
cputs("CHAR: ");
while (1)
{
if (kbhit())
{
gotoxy(5, 0);
cputc(cgetc());
}
}
return 0;
}
This might be an emulator or Open ROMs issue since downloading the program ROM and opening it in VICE results in the expected behavior. If you exit to BASIC in the emulator and press enter you can type normally, but not until you press enter