Ignore the OSC code for desktop notifications

In Fedora, bash is configured to display a desktop notification when a command
finishes (and the terminal is not focused). weston-terminal complains about it;
let's silence it.

Signed-off-by: Dima Ryazanov <dima@gmail.com>
Acked-by: Daniel Stone <daniels@collabora.com>
dev
Dima Ryazanov 8 years ago committed by Daniel Stone
parent 08f09e2012
commit c3b63728b4
  1. 2
      clients/terminal.c

@ -1298,6 +1298,8 @@ handle_osc(struct terminal *terminal)
break;
case 7: /* shell cwd as uri */
break;
case 777: /* Desktop notifications */
break;
default:
fprintf(stderr, "Unknown OSC escape code %d, text %s\n",
code, p);

Loading…
Cancel
Save