docs(pain-control): remove incorrect case-insensitivity note#31
Conversation
psmux binding lookup is case-sensitive: normalize_key_for_binding strips Shift but preserves character case, so h and H are distinct bindings. The removed note claimed H == h and used it to justify the Alt-based resize keys; the section header already documents the Alt keys.
|
Hey @MattKotsenas, thanks for catching this. I went and checked it two ways before merging. First, in psmux core itself: Second, I proved it live rather than trusting the read. On an isolated Merged as c5de07f. Appreciate you tightening up the docs. |
The
NOTEclaims psmux treats key bindings case-insensitively (H == h), but psmux binding lookup is case-sensitive: in psmux core (psmux/psmux),normalize_key_for_bindinginsrc/config.rsstrips Shift while preserving character case, sohandHresolve to distinct bindings.The note uses that false premise to justify the Alt-based resize keys; the section header (
# PANE RESIZING (Alt + vim keys)) already documents the Alt keys, so removing the note loses nothing.