[Gambas-bugtracker] Bug #1348: line input includes "\r" in 3.11.3

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Jun 13 16:06:54 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1348&from=L21haW4-

Comment #1 by Benoît MINISINI:

This is somewhat expected.
As you run the shell command inside a virtual terminal, you receive "\r\n" for line changes.
But the stream associated is still in Unix end-of-line mode, so Line Input returns the "\r" before the newline.
Maybe I should put the process stream in "Window" end-of-line mode automatically when a command is run inside a virtual terminal...




More information about the Bugtracker mailing list