Debian Patches

Status for golang-code.rocketnine-tslocum-cbind/0.1.5-3.1

Patch Description Author Forwarded Bugs Origin Last update
0001-Support-CSI-u-mode-introduced-in-tcell-v2.10.0.patch Support CSI u mode introduced in tcell v2.10.0
Fixes #1

Starting from tcell v2.10.0, CSI u mode support was added which changes
how Ctrl+letter key events are reported. Previously, Ctrl+C was reported
as KeyCtrlC (key code 3), but now it's reported as ModCtrl + KeyRune + 'c'.

This commit adapts cbind to handle both the legacy KeyCtrlA-Z format and
the new CSI u format:

- Modified Capture() to convert KeyCtrlA-Z events to the new rune-based
format (ModCtrl + KeyRune + 'a'-'z') for consistent internal handling
- Modified Encode() to convert KeyCtrlA-Z to rune format when encoding
- Modified Decode() to normalize Ctrl+letter keys to lowercase
- Removed old ctrlKeys mapping logic from SetKey() and SetRune() that is
no longer needed with the new approach
- Updated tests to use Set() method for consistent handler registration
- Simplified TestConfiguration by removing tcell event normalization
checks that were causing false failures
- Updated test cases to reflect the new rune-based Ctrl key format
- Commented out KeyCtrlRightSq test due to upstream tcell bug (PR #853)
Noboru Saito <noborusai@gmail.com> no 2025-11-26

All known versions for source package 'golang-code.rocketnine-tslocum-cbind'

Links