diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/term/term.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/term/term.h b/include/term/term.h index dc41114..aa1a3d7 100644 --- a/include/term/term.h +++ b/include/term/term.h @@ -146,6 +146,13 @@ struct term_options { struct term_theme theme; enum term_cursor_style cursor_style; bool cursor_steady; /* false: the cursor blinks */ + /* + * The terminal's name. Programs read it with XTVERSION and XTGETTCAP. + * It is also the title of a notification that has none. NULL or "" + * selects "term". Otherwise 1 to 63 printable ASCII bytes, or term_new() + * returns NULL. term_new() copies the name. + */ + const char *name; struct term_callbacks callbacks; }; |
