From 8967afefb6872eab5094666bb06227635358d5e8 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 24 May 2013 22:26:24 -0700 Subject: [PATCH] Only send response to ESC[0c. --- protocols/ssh/src/terminal_handlers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/ssh/src/terminal_handlers.c b/protocols/ssh/src/terminal_handlers.c index fc48fea2..3b320135 100644 --- a/protocols/ssh/src/terminal_handlers.c +++ b/protocols/ssh/src/terminal_handlers.c @@ -645,7 +645,8 @@ int guac_terminal_csi(guac_terminal* term, char c) { /* c: Identify */ case 'c': - guac_terminal_write_all(term->stdin_pipe_fd[1], "\x1B[?6c", 5); + if (argv[0] == 0) + guac_terminal_write_all(term->stdin_pipe_fd[1], "\x1B[?6c", 5); break; /* d: Move cursor, current col */