mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
test: config: scrollback: test indicator-positition
This commit is contained in:
parent
e058a43689
commit
67edb43db4
1 changed files with 9 additions and 1 deletions
|
|
@ -461,7 +461,15 @@ test_section_scrollback(void)
|
||||||
&conf.scrollback.lines);
|
&conf.scrollback.lines);
|
||||||
test_double(&ctx, parse_section_scrollback, "multiplier", &conf.scrollback.multiplier);
|
test_double(&ctx, parse_section_scrollback, "multiplier", &conf.scrollback.multiplier);
|
||||||
|
|
||||||
/* TODO: indicator-position (enum) */
|
test_enum(
|
||||||
|
&ctx, &parse_section_scrollback, "indicator-position",
|
||||||
|
3,
|
||||||
|
(const char *[]){"none", "fixed", "relative"},
|
||||||
|
(int []){SCROLLBACK_INDICATOR_POSITION_NONE,
|
||||||
|
SCROLLBACK_INDICATOR_POSITION_FIXED,
|
||||||
|
SCROLLBACK_INDICATOR_POSITION_RELATIVE},
|
||||||
|
(int *)&conf.scrollback.indicator.position);
|
||||||
|
|
||||||
/* TODO: indicator-format (enum, sort-of) */
|
/* TODO: indicator-format (enum, sort-of) */
|
||||||
|
|
||||||
config_free(conf);
|
config_free(conf);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue