diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-09-13 07:20:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-09-13 07:20:50 +0000 |
| commit | 33f3818520bd5f7a063f64442c54d41625332aeb (patch) | |
| tree | 33d21207b1f2473800358ec0a594942b965034db /osc.c | |
| parent | xsnprintf: various improvements related to xvsnprintf() and xsnprintf() (diff) | |
| parent | changelog: remove escape sequences we've reverted (diff) | |
Merge branch 'toplevel-icon'
Diffstat (limited to 'osc.c')
| -rw-r--r-- | osc.c | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1145,9 +1145,16 @@ osc_dispatch(struct terminal *term) char *string = (char *)&term->vt.osc.data[data_ofs]; switch (param) { - case 0: term_set_window_title(term, string); break; /* icon + title */ - case 1: break; /* icon */ - case 2: term_set_window_title(term, string); break; /* title */ + case 0: /* icon + title */ + term_set_window_title(term, string); + break; + + case 1: /* icon */ + break; + + case 2: /* title */ + term_set_window_title(term, string); + break; case 4: { /* Set color<idx> */ |
