Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Git Bash on Windows: terminal enlarge/shrink breaks chat input and previous conversation scrolling

Open Beginner friendly
#51,541 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start by locating the terminal resize event handling code in the Rust codex-cli codebase, which manages terminal size changes and updates the UI state. Reproduce the issue by running the CLI from Git Bash on Windows, resizing the terminal window larger then smaller, to confirm the broken input and scrolling behavior. The fix is complete when resizing no longer breaks chat input and previous conversation content remains accessible via scrolling after a resize.

Written by the indexing model from the issue text.

Description

bug CLI TUI windows-os
Environment

Windows, Codex CLI launched from Git Bash.
codex --version in the reporting environment returns codex-cli 0.160.1. The version in the user's already-running Git Bash session was not independently verified.
Exact terminal host/version is unknown.

Steps to reproduce (user reported)
  1. Launch codex from Git Bash.
  2. Enlarge the terminal window.
  3. Reduce it back to a smaller size.
  4. Attempt to type a chat message.
  5. Scroll upward to view earlier conversation output.
Actual behavior

After enlarging and shrinking the window, chat input stops working. Scrolling upward does not show the earlier conversation content as expected. These symptoms prevent continuing the conversation and reviewing previous messages.

Expected behavior

Codex should continue accepting input after terminal resize, and earlier conversation content should remain accessible through the supported history/scrolling mechanism.

Additional information

The user explicitly clarified that this is Codex CLI in Git Bash, rather than the desktop app. This report is submitted at the user's request. The issue has not been independently reproduced by the reporting agent. No private conversation transcript or logs are attached.

Dominant language
Rust
Stars
128k
Forks
20.1k
Avg merge
1m
Merged PRs (30d)
994

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.