From f2520ca91c670fe8e649ee185a0dcb4c71e1892d Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 25 May 2013 16:09:28 -0700 Subject: [PATCH] Send 0x0D for return. --- protocols/ssh/src/guac_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ssh/src/guac_handlers.c b/protocols/ssh/src/guac_handlers.c index 673442bd..24be1caa 100644 --- a/protocols/ssh/src/guac_handlers.c +++ b/protocols/ssh/src/guac_handlers.c @@ -294,7 +294,7 @@ int ssh_guac_client_key_handler(guac_client* client, int keysym, int pressed) { if (keysym == 0xFF08) { data = "\x08"; length = 1; } else if (keysym == 0xFF09) { data = "\x09"; length = 1; } - else if (keysym == 0xFF0D) { data = "\x0A"; length = 1; } + else if (keysym == 0xFF0D) { data = "\x0D"; length = 1; } else if (keysym == 0xFF1B) { data = "\x1B"; length = 1; } /* Arrow keys */