mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-17 06:46:21 -04:00
Crosshair coredump fix. Crosshair styles.
Fixed possibilities for coredumps when having a fixed cross hair and modifying the window size to the extend the crosshair would now be out of the window boundaries. Implemented a Crosshair style switch from Full Cross to Vertical Line to Horizontal Line.
This commit is contained in:
parent
c742f640af
commit
9a3ac3a406
8 changed files with 63 additions and 26 deletions
8
config.h
8
config.h
|
|
@ -29,7 +29,13 @@ struct font_size_adjustment {
|
|||
|
||||
enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BEAM };
|
||||
|
||||
enum conf_size_type {CONF_SIZE_PX, CONF_SIZE_CELLS};
|
||||
enum conf_size_type { CONF_SIZE_PX, CONF_SIZE_CELLS };
|
||||
|
||||
enum crosshair_style {
|
||||
CROSSHAIR_FULL,
|
||||
CROSSHAIR_HORIZONTAL,
|
||||
CROSSHAIR_VERTICAL
|
||||
};
|
||||
|
||||
struct config_font {
|
||||
char *pattern;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue