Skip to content

fix: buffer terminal input before session activation - #48

Open
jerewy wants to merge 1 commit into
masterfrom
codex/refactor-terminal-input-handling-logic
Open

jerewy wants to merge 1 commit into
masterfrom
codex/refactor-terminal-input-handling-logic

Conversation

@jerewy

@jerewy jerewy commented Oct 1, 2025

Copy link
Copy Markdown
Owner

Summary

  • add a pending input buffer to capture keystrokes before the terminal session becomes ready
  • centralize input dispatch logic to reuse filtering and outbound sending across listeners
  • flush buffered input once a session id is known and clear buffers on exit to avoid stale replays

Testing

  • npm run lint (fails: Failed to load config "next/core-web-vitals" to extend from.)

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

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