On 27/09/2011 15:31, Paolo Bonzini wrote:
> On 09/27/2011 03:14 PM, Fabien Chouteau wrote:
>> +/* Some terminal emulator returns \r\n for Enter, just pass \n */
>> +if (win_stdio_buf == '\r') {
>> +continue;
>> +}
>
> Does the \r actually do any damage?
>
It's j
On 09/27/2011 03:14 PM, Fabien Chouteau wrote:
+/* Some terminal emulator returns \r\n for Enter, just pass \n */
+if (win_stdio_buf == '\r') {
+continue;
+}
Does the \r actually do any damage?
+static void qemu_chr_set_echo_win_stdio(CharDriverState *chr,
Simple implementation of an stdio char device on Windows.
Signed-off-by: Fabien Chouteau
---
qemu-char.c | 195 ++-
1 files changed, 193 insertions(+), 2 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 09d2309..1351a48 100644
--