mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
term: track current window title in terminal struct
This commit is contained in:
parent
326808f94d
commit
97350f6488
4 changed files with 17 additions and 4 deletions
6
osc.c
6
osc.c
|
|
@ -234,9 +234,9 @@ osc_dispatch(struct terminal *term)
|
|||
}
|
||||
|
||||
switch (param) {
|
||||
case 0: render_set_title(term, string); break; /* icon + title */
|
||||
case 1: break; /* icon */
|
||||
case 2: render_set_title(term, string); break; /* title */
|
||||
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 52: osc_selection(term, string); break;
|
||||
|
||||
case 104: /* Reset Color Number 'c' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue