Add uppercase-regex-insert config option.

Fixes #2159.

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 "off", preserving the original behavior of `foot` before #1975.
This commit is contained in:
Ryan Roden-Corrent 2025-08-07 08:18:38 -04:00
parent 72d9a13c0c
commit 2a796d77e3
No known key found for this signature in database
GPG key ID: 435D8B10692555C9
6 changed files with 21 additions and 1 deletions

View file

@ -67,6 +67,13 @@
## Unreleased
### Added
* 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[]).
[2159]: https://codeberg.org/dnkl/foot/issues/2159
### Changed
* The label letters are no longer sorted before being assigned to URLs