mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04:00
Update uppercase-regex-insert for PR feedback.
- Default to `true` - Note default value in config - Fix changelog link - Add config test
This commit is contained in:
parent
2a796d77e3
commit
4d19e829b3
5 changed files with 6 additions and 3 deletions
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
* The `uppercase-regex-insert` option controls whether an uppercase hint
|
||||
character will insert the selected text into the prompt in `regex-copy`
|
||||
or `show-urls-copy` mode. ([#2159]2159[]).
|
||||
or `show-urls-copy` mode. It defaults to `true`. ([#2159][2159]).
|
||||
|
||||
[2159]: https://codeberg.org/dnkl/foot/issues/2159
|
||||
|
||||
|
|
|
|||
2
config.c
2
config.c
|
|
@ -3378,7 +3378,7 @@ config_load(struct config *conf, const char *conf_path,
|
|||
.strikeout_thickness = {.pt = 0., .px = -1},
|
||||
.dpi_aware = false,
|
||||
.gamma_correct = false,
|
||||
.uppercase_regex_insert = false,
|
||||
.uppercase_regex_insert = true,
|
||||
.security = {
|
||||
.osc52 = OSC52_ENABLED,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -236,6 +236,8 @@ empty string to be set, but it must be quoted: *KEY=""*)
|
|||
*show-urls-copy* or *regex-copy* mode will insert the selected
|
||||
text into the prompt in addition to copying it to the clipboard.
|
||||
|
||||
Default: _yes_
|
||||
|
||||
*box-drawings-uses-font-glyphs*
|
||||
Boolean. When disabled, foot generates box/line drawing characters
|
||||
itself. The are several advantages to doing this instead of using
|
||||
|
|
|
|||
2
foot.ini
2
foot.ini
|
|
@ -40,7 +40,7 @@
|
|||
# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is ‘libutempter’ (Linux)
|
||||
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ‘ulog’ (FreeBSD)
|
||||
|
||||
# uppercase-regex-insert=no
|
||||
# uppercase-regex-insert=yes
|
||||
|
||||
[environment]
|
||||
# name=value
|
||||
|
|
|
|||
|
|
@ -491,6 +491,7 @@ test_section_main(void)
|
|||
test_boolean(&ctx, &parse_section_main, "locked-title", &conf.locked_title);
|
||||
test_boolean(&ctx, &parse_section_main, "dpi-aware", &conf.dpi_aware);
|
||||
test_boolean(&ctx, &parse_section_main, "gamma-correct-blending", &conf.gamma_correct);
|
||||
test_boolean(&ctx, &parse_section_main, "uppercase-regex-insert", &conf.uppercase_regex_insert);
|
||||
|
||||
test_pt_or_px(&ctx, &parse_section_main, "font-size-adjustment", &conf.font_size_adjustment.pt_or_px); /* TODO: test ‘N%’ values too */
|
||||
test_pt_or_px(&ctx, &parse_section_main, "line-height", &conf.line_height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue