Skip to content

Comments

Allow exiting log viewer with Esc#7

Closed
Chetic wants to merge 1 commit intomasterfrom
codex/configure-less-to-exit-with-esc
Closed

Allow exiting log viewer with Esc#7
Chetic wants to merge 1 commit intomasterfrom
codex/configure-less-to-exit-with-esc

Conversation

@Chetic
Copy link
Owner

@Chetic Chetic commented Oct 31, 2025

Summary

  • add helpers that configure a temporary lesskey profile to bind ESC to quit
  • reuse a shared append_exit_trap helper so cursor restore and temporary cleanup run together
  • apply the new less setup before viewing logs so pressing ESC closes the viewer

Testing

  • tests/run_tests.sh (fails: npm 403 when attempting to install bats)

https://chatgpt.com/codex/tasks/task_e_69045ae88cf483329ce2a0c1edc46d6d

@Chetic Chetic closed this Nov 3, 2025
@Chetic Chetic deleted the codex/configure-less-to-exit-with-esc branch November 3, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant