Closed wasamasa closed 7 years ago
Hm, while this keeps the application happy, doing things this way stops echoing user input. Running foment from something like M-x scheme
in Emacs fails because it uses a pty, yet doesn't ever receive the prompt.
Better fix for this issue; I tested using a shell under emacs.
Thanks again!
Just because you're connected to a terminal doesn't mean that sending ANSI escape codes (as done in
SetupConsole
) is OK. Typically settingTERM
todumb
(alternatively, unsetting it) is used to signal that the terminal doesn't support them at all. In this situation the line reading function could get away with just usingfgets
or alike to get user input.