Skip to content

Low Framerate while typing #13795

Closed
Closed

Description

@Quix1

What version of Codex CLI is running?

0.111.0

What subscription do you have?

PLUS

Which model were you using?

all models

What platform is your computer?

windows

What terminal emulator and version are you using (if applicable)?

Powershell / CMD

What issue are you seeing?

Inside CMD and Powershell without Codex opened the framerate when i type something is normal. But when i launch codex and i start prompting the typing gets really laggy and delayed like if i would have 10 frame per second.

What steps can reproduce the bug?

Starting codex via CLI

What is the expected behavior?

It should be like in the normal CMD or Powershell when i run commands. For Example in other CLI tools like Claude etc i dont have this problem.

Additional information

No response

Activity

  1. added
    bug
    on Mar 6, 2026
  2. added
    CLI
    windows-os
    TUI
    on Mar 6, 2026
  3. github-actions commented on Mar 6, 2026

    @github-actions
    Contributor
  4. removed
    CLI
    on Mar 7, 2026
  5. JJLiebig commented on Mar 7, 2026

    @JJLiebig

    I encountered this as well and turns out it is due to the disable_paste_burst setting that's default false.

    If this is set to true, the typing feels natural. I sent codex to figure it out and this is a workaround to paste things into the TUI without triggering a message sent while things are still pasting in. Windows specific timeout is different to Linux/Mac.

    Not really helpful for you specifically OP, but perhaps brief info for the codex guys to think of a way to fix this while retaining the paste functionality.

  6. adgower commented on Mar 8, 2026

    @adgower
  7. mehulparmariitr commented on Jul 27, 2026

    @mehulparmariitr

    Related instrumented CLI/TUI typing-lag investigation and implementation:

    That investigation confirmed repeated synchronous terminal-size queries and focus-time palette refresh as input blockers, then removed/bounded those paths. Patched traces reduced ordinary key-to-draw p95 to single-digit milliseconds, although separate scheduling delays remain possible under heavy load.

    The direct measurements were on macOS, so this is not proof that the same cause explains the Windows behavior here. The terminal-size change is cross-platform and gives maintainers a concrete comparison/retest candidate.

  8. etraut-openai commented on Nov 15, 2026

    @etraut-openai
    Contributor

    Closing as fixed by #18914, which removed the extra Windows paste-burst delay identified here. #35649 and #36482 also removed blocking terminal queries from the input and redraw paths. If typing still lags on a current release, please file a new report with the terminal and a short reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions