config: add 'uppercase-regex-insert'

This makes the "uppercase hint character inserts selected text"
behavior added in #1975 configurable, as it can have unexpected
behavior for some users.

It defaults to "on", preserving the new behavior of `foot`, after

Fixes #2159.
This commit is contained in:
Ryan Roden-Corrent 2025-08-07 08:18:38 -04:00 committed by Daniel Eklöf
parent f0e36e35cb
commit 298196365c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 24 additions and 1 deletions

View file

@ -231,6 +231,13 @@ empty string to be set, but it must be quoted: *KEY=""*)
Default: _no_.
*upppercase-regex-insert*
Boolean. When enabled, inputting an uppercase hint character in
*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