Fix typo that caused OSC 3008 to set title rather than just be ignored
Fixes #9226
This commit is contained in:
parent
e6d7e91000
commit
478294a335
2 changed files with 4 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ dispatch_osc(PS *self, uint8_t *buf, size_t limit, bool is_extended_osc) {
|
|||
case 701: REPORT_ERROR("Ignoring OSC 701, used by mintty for locale"); break;
|
||||
case 3008:
|
||||
START_DISPATCH
|
||||
DISPATCH_OSC(set_title);
|
||||
DISPATCH_OSC(osc_context);
|
||||
END_DISPATCH
|
||||
case 7704: REPORT_ERROR("Ignoring OSC 7704, used by mintty for ANSI colors"); break;
|
||||
case 7750: REPORT_ERROR("Ignoring OSC 7750, used by mintty for Emoji style"); break;
|
||||
|
|
|
|||
|
|
@ -81,6 +81,9 @@ def p(x):
|
|||
def title_changed(self, data, is_base64=False) -> None:
|
||||
self.titlebuf.append(process_title_from_child(data, is_base64, ''))
|
||||
|
||||
def osc_context(self, data):
|
||||
pass
|
||||
|
||||
def icon_changed(self, data) -> None:
|
||||
self.iconbuf += str(data, 'utf-8')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue