Silence the errors about OSC 7

Up to now this poorly designed and completely unnecessary escape code
was relegated to only GNOME, however, off late Apple has started using
it as well, so silently ignore it, instead of spamming error messages
for it.
This commit is contained in:
Kovid Goyal
2021-01-29 12:43:41 +05:30
parent 68423b3603
commit ac2a33d09f
4 changed files with 15 additions and 2 deletions
+4
View File
@@ -392,6 +392,10 @@ dispatch_osc(Screen *screen, PyObject DUMP_UNUSED *dump_callback) {
START_DISPATCH
DISPATCH_OSC_WITH_CODE(set_color_table_color);
END_DISPATCH
case 7:
START_DISPATCH
DISPATCH_OSC_WITH_CODE(process_cwd_notification);
END_DISPATCH
case 8:
dispatch_hyperlink(screen, i, limit-i, dump_callback);
break;