-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
0.66.10
-
None
On Windows Aesh doesn't seem to take over the line editor. As a result, when entering masked input, entered keys are echoed in clear text until ENTER is pressed, then a masked character is echoed.
In addition, since Windows uses '\r\n\' as EOL, rather than '\n' Aesh line parser seems to get confused, and treats only '\r' as end of line character, leaving '\n' unread. A subsequent line read then receives '\n' as a first character.
Current workaround is to determine that the runtime is on Windows, and in that case set masking char to 0, and to scan returned line and remove all '\n' from it.