Skip to content

Add Enter key to exit TUI after render completes#104

Merged
tjazerzen merged 0 commit intofeature/ctrl-d-exitfrom
feature/enter-exit-after-render
Feb 13, 2026
Merged

Add Enter key to exit TUI after render completes#104
tjazerzen merged 0 commit intofeature/ctrl-d-exitfrom
feature/enter-exit-after-render

Conversation

@tjazerzen
Copy link
Contributor

@tjazerzen tjazerzen commented Feb 13, 2026

Summary

  • Add Enter keybinding to exit the TUI, only active after rendering has finished
  • Update CustomFooter to dynamically switch footer text to render-finished keybindings (enter: exit * ctrl+c: copy * ctrl+l: toggle logs) once rendering completes
  • Track render completion state via _render_finished flag to guard the Enter exit action

Test plan

  • Verify pressing Enter during rendering does nothing
  • Verify pressing Enter after render completes exits the TUI
  • Verify footer text updates from default keybindings to render-finished keybindings upon completion
  • Verify Ctrl+D still works as a quit shortcut at any time

Visual changes

image

(note "enter to exit" next to "rendering finished" and "enter: exit" at the bottom).

@tjazerzen tjazerzen force-pushed the feature/enter-exit-after-render branch from 33419c6 to 2b90e77 Compare February 13, 2026 11:19
@tjazerzen tjazerzen merged commit 2b90e77 into feature/ctrl-d-exit Feb 13, 2026
10 checks passed
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