mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-23 05:08:55 +03:00
Two places pass plain text as the format string of TextStyle.Sprintf without further arguments: the prefix of a disabled menu item's tooltip, and the key binding entries of the options bar. If the text contains a "%", for example in a translation or in a key label, it is mangled into something like "%!(NOVERB)". go vet doesn't report these calls yet. It will once go.mod says go 1.26, because vet then also finds printf wrappers through interface methods. TextStyle.Sprintf forwards to the Sprintf method of the Sprinter interface. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>