mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-29 06:46:35 -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
|
|
@ -245,6 +245,7 @@ struct terminal {
|
|||
|
||||
int selected_charset;
|
||||
enum charset charset[4]; /* G0-G3 */
|
||||
char *window_title;
|
||||
|
||||
struct vt vt;
|
||||
struct kbd kbd;
|
||||
|
|
@ -341,3 +342,5 @@ void term_mouse_up(struct terminal *term, int button, int row, int col,
|
|||
bool shift, bool alt, bool ctrl);
|
||||
void term_mouse_motion(struct terminal *term, int button, int row, int col,
|
||||
bool shift, bool alt, bool ctrl);
|
||||
|
||||
void term_set_window_title(struct terminal *term, const char *title);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue