Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gdamore/tcell
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.13.8
Choose a base ref
...
head repository: gdamore/tcell
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.13.9
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Feb 23, 2026

  1. Configuration menu
    Copy the full SHA
    15d91df View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2026

  1. fix(input): handle ESC during CSI and SS3 parse states per ECMA-48

    The input parser's CSI and SS3 state handlers do not check for ESC
    (0x1B). Per ECMA-48 §5.3.1, ESC is always effective and should restart
    the escape sequence machine from any intermediate state. Instead, ESC
    falls into the "bad parse" branch in inpStateCsi and is silently
    discarded, and in inpStateSs3 it fails the key lookup and is lost.
    
    This causes the byte(s) following the discarded ESC to be
    misinterpreted. In practice, the user's first keystroke after
    Suspend/Resume can be swallowed: engage() sends escape sequences that
    may provoke terminal responses, and if those responses leave the parser
    mid-CSI, the next ESC-prefixed key (arrow keys, function keys) is
    consumed as the tail of the stale sequence.
    
    Add an ESC check to both inpStateCsi and inpStateSs3 that transitions
    to inpStateEsc with the standard timeout setup, matching the behavior
    of inpStateInit.
    ModeEngage authored and gdamore committed Apr 19, 2026
    Configuration menu
    Copy the full SHA
    2fdac94 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2026

  1. Configuration menu
    Copy the full SHA
    cdc241c View commit details
    Browse the repository at this point in the history
Loading