mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-07 04:34:03 -05:00
conf: make cursor's default style configurable
This commit is contained in:
parent
ed5df194b8
commit
3ccdef3498
5 changed files with 48 additions and 1 deletions
|
|
@ -222,6 +222,8 @@ struct font {
|
|||
struct glyph_cache glyph_cache[256];
|
||||
};
|
||||
|
||||
enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR };
|
||||
|
||||
struct terminal {
|
||||
pid_t slave;
|
||||
int ptmx;
|
||||
|
|
@ -291,7 +293,7 @@ struct terminal {
|
|||
struct coord cursor;
|
||||
struct coord saved_cursor;
|
||||
struct coord alt_saved_cursor;
|
||||
enum { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR } cursor_style;
|
||||
enum cursor_style cursor_style;
|
||||
bool cursor_blinking;
|
||||
|
||||
uint32_t input_serial;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue