Dont bother with new escape code for setting title

Since we are only sending the last command, it cannot have CSI
sequences in it anyway except in extremely contrived situations, so just
strip all ctrl chars out.
This commit is contained in:
Kovid Goyal
2022-02-27 10:55:02 +05:30
parent 33abd31d1a
commit ef5c66ee17
4 changed files with 1 additions and 13 deletions

View File

@@ -211,7 +211,6 @@ void screen_handle_print(Screen *, PyObject *cmd);
void screen_designate_charset(Screen *, uint32_t which, uint32_t as);
void screen_use_latin1(Screen *, bool);
void set_title(Screen *self, PyObject*);
void set_title_base64(Screen *self, PyObject*);
void desktop_notify(Screen *self, unsigned int, PyObject*);
void set_icon(Screen *self, PyObject*);
void set_dynamic_color(Screen *self, unsigned int code, PyObject*);