Skip to content

Improved TUI keyboard handling#77

Open
gmolto wants to merge 1 commit intodevelfrom
fix-hangs
Open

Improved TUI keyboard handling#77
gmolto wants to merge 1 commit intodevelfrom
fix-hangs

Conversation

@gmolto
Copy link
Member

@gmolto gmolto commented Feb 24, 2026

This PR hardens TUI keyboard handling to reduce random hangs observed during cluster/table navigation.

Changes

  • Intercepted navigation keys in SetInputCapture before they reach tview internals: Up, Down, PgUp, PgDn, Home, End

Why

  • Runtime dumps repeatedly pointed to tview.(*Table).InputHandler during freezes.
  • Handling navigation keys in our code avoids passing those key paths into the unstable handler.
    Validation

go test ./pkg/tui passed.

@gmolto gmolto marked this pull request as draft February 25, 2026 13:31
@gmolto gmolto removed the request for review from SergioLangaritaBenitez February 25, 2026 13:31
@gmolto gmolto marked this pull request as ready for review February 25, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant