From 8a20500847d55f8cdaaa283248af5571ade65d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 11 Sep 2013 11:52:56 -0700 Subject: [PATCH] terminal: Stop complaining about OSC escape code 7 This is the current working directory of the shell as an URI. We don't use that for anythign at the moment, but let's not complain about it at least. --- clients/terminal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clients/terminal.c b/clients/terminal.c index c3bb1b0b..1c60ebaf 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -1228,8 +1228,11 @@ handle_osc(struct terminal *terminal) case 2: /* Window title*/ window_set_title(terminal->window, p); break; + case 7: /* shell cwd as uri */ + break; default: - fprintf(stderr, "Unknown OSC escape code %d\n", code); + fprintf(stderr, "Unknown OSC escape code %d, text %s\n", + code, p); break; } }