Add a new escape code to allow terminal programs to trigger desktop notifications
Fixes #1474
This commit is contained in:
@@ -1495,6 +1495,11 @@ set_title(Screen *self, PyObject *title) {
|
||||
CALLBACK("title_changed", "O", title);
|
||||
}
|
||||
|
||||
void
|
||||
desktop_notify(Screen *self, unsigned int osc_code, PyObject *data) {
|
||||
CALLBACK("desktop_notify", "IO", osc_code, data);
|
||||
}
|
||||
|
||||
void
|
||||
set_icon(Screen *self, PyObject *icon) {
|
||||
CALLBACK("icon_changed", "O", icon);
|
||||
|
||||
Reference in New Issue
Block a user