aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/osc.c b/osc.c
index 0db11811..5efc7588 100644
--- a/osc.c
+++ b/osc.c
@@ -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> */