Garbled terminal input
Open 💬 2 comments Opened Jul 18, 2026 by siri666666
What version of Codex CLI is running?
codex-cli 0.144.5
What subscription do you have?
api
Which model were you using?
gpt-5.6-terra ultra
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What terminal emulator and version are you using (if applicable)?
PowerShell
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1784387144s since unix epoch",
"overallStatus": "warning",
"codexVersion": "0.144.5",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "C:\\Users\\15PRO\\.codex\\app-server-control\\app-server-control.sock",
"daemon state dir": "C:\\Users\\15PRO\\.codex\\app-server-daemon",
"mode": "ephemeral",
"pid file": "C:\\Users\\15PRO\\.codex\\app-server-daemon\\app-server.pid (missing)",
"settings": "C:\\Users\\15PRO\\.codex\\app-server-daemon\\settings.json (missing)",
"status": "not running",
"update-loop pid file": "C:\\Users\\15PRO\\.codex\\app-server-daemon\\app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 0
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "C:\\Users\\15PRO\\.codex\\auth.json",
"auth storage mode": "File",
"stored API key": "true",
"stored ChatGPT tokens": "false",
"stored agent identity": "false",
"stored auth mode": "api_key"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "C:\\Users\\15PRO\\.codex",
"config.toml": "C:\\Users\\15PRO\\.codex\\config.toml",
"config.toml parse": "ok",
"cwd": "C:\\Users\\15PRO",
"enabled feature flags": "<redacted>",
"feature flag overrides": "memories=true",
"feature flags enabled": "36",
"log dir": "C:\\Users\\15PRO\\.codex\\log",
"mcp servers": "4",
"model": "gpt-5.6-terra",
"model provider": "OpenAI",
"sqlite home": "C:\\Users\\15PRO\\.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.54.0.windows.1",
"details": {
".git entry": "directory",
"PATH git #1": "C:\\Program Files\\Git\\cmd\\git.exe",
"PATH git entries": "1",
"git build options": "git version 2.54.0.windows.1; cpu: x86_64; built from commit: 2b8a3ab140826ac423c2845ef81d4c6ac4f7bf3c; sizeof-long: 4; sizeof-size_t: 8; shell-path: D:/git-sdk-64-build-installers/usr/bin/sh; rust: disabled; feature: fsmonitor--daemon; gettext: enabled; libcurl: 8.19.0; OpenSSL: OpenSSL 3.5.6 7 Apr 2026; zlib: 1.3.2; SHA-1: SHA1_DC; SHA-256: SHA256_BLK; default-ref-format: files; default-hash: sha1",
"git exec path": "C:/Program Files/Git/mingw64/libexec/git-core",
"git version": "git version 2.54.0.windows.1",
"repo detected": "true",
"repo root": "C:\\Users\\15PRO",
"selected git": "C:\\Program Files\\Git\\cmd\\git.exe"
},
"remediation": null,
"durationMs": 54
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "C:\\Users\\15PRO\\AppData\\Local\\Programs\\OpenAI\\Codex\\bin\\codex.exe",
"current executable": "C:\\Users\\15PRO\\AppData\\Local\\Programs\\OpenAI\\Codex\\bin\\codex.exe",
"install context": "standalone (windows, package C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc, bin C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\bin, resources C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\codex-path)",
"managed by bun": "false",
"managed by npm": "false",
"managed by pnpm": "false",
"managed package root": "not set"
},
"remediation": null,
"durationMs": 56
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "MCP configuration is locally consistent",
"details": {
"configured servers": "4",
"disabled servers": "0",
"stdio servers": "3",
"streamable_http servers": "1"
},
"remediation": null,
"durationMs": 3867
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars present": "HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, http_proxy, https_proxy, all_proxy, no_proxy"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"OpenAI API base URL": "http://127.0.0.1:8081 reachable (HTTP 200)",
"OpenAI API route probe": "http://127.0.0.1:8081/models route exists (HTTP 401)",
"reachability mode": "API key auth"
},
"remediation": null,
"durationMs": 52
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket is not enabled for the active provider",
"details": {
"model provider": "OpenAI",
"provider name": "OpenAI",
"proxy env vars present": "HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, http_proxy, https_proxy, all_proxy, no_proxy",
"supports websockets": "false",
"wire API": "responses"
},
"remediation": null,
"durationMs": 0
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running standalone on windows-x86_64",
"details": {
"commit": "unknown",
"current executable": "C:\\Users\\15PRO\\AppData\\Local\\Programs\\OpenAI\\Codex\\bin\\codex.exe",
"install method": "standalone (windows, package C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc, bin C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\bin, resources C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\codex-path)",
"platform": "windows-x86_64",
"version": "0.144.5"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases\\0.144.5-x86_64-pc-windows-msvc\\codex-path\\rg.exe",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "Never",
"codex-linux-sandbox helper": "none",
"execve wrapper helper": "none",
"filesystem sandbox": "unrestricted",
"network sandbox": "enabled"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "C:\\Users\\15PRO\\.codex (dir)",
"active rollout files": "693 files, 2766168189 total bytes, 3991584 average bytes",
"archived rollout files": "5 files, 25138636 total bytes, 5027727 average bytes",
"goals DB": "C:\\Users\\15PRO\\.codex\\goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "C:\\Users\\15PRO\\.codex\\logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "C:\\Users\\15PRO\\.codex\\log (dir)",
"memories DB": "C:\\Users\\15PRO\\.codex\\memories_1.sqlite (file)",
"memories DB integrity": "ok",
"sqlite home": "C:\\Users\\15PRO\\.codex (dir)",
"standalone release cache": "17 entries in C:\\Users\\15PRO\\.codex\\packages\\standalone\\releases",
"state DB": "C:\\Users\\15PRO\\.codex\\state_5.sqlite (file)",
"state DB integrity": "ok"
},
"remediation": null,
"durationMs": 1546
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "warning",
"summary": "rollout files and state DB thread inventory differ",
"details": {
"default model provider": "OpenAI",
"rollout DB active files": "680",
"rollout DB active rows": "680",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "5",
"rollout DB archived rows": "5",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "0",
"rollout DB missing archived rows": "0",
"rollout DB model providers": "OpenAI=350, openai=234, custom=100, anyrouter=1",
"rollout DB rows": "685",
"rollout DB scan cap reached": "false",
"rollout DB scan error sample": [
"C:\\Users\\15PRO\\.codex\\sessions\\2025\\09\\16\\rollout-2025-09-16T09-27-34-7e7fd0ec-2b5a-4aef-a3b9-0c0ed638c6cd.jsonl (no parseable rollout items)",
"C:\\Users\\15PRO\\.codex\\sessions\\2025\\09\\16\\rollout-2025-09-16T13-02-48-8f5edaa6-82ce-414f-add1-c32db7080357.jsonl (no parseable rollout items)",
"C:\\Users\\15PRO\\.codex\\sessions\\2025\\09\\15\\rollout-2025-09-15T09-59-45-499039f5-9692-438e-8517-5af9262c5361.jsonl (no parseable rollout items)",
"C:\\Users\\15PRO\\.codex\\sessions\\2025\\09\\15\\rollout-2025-09-15T10-02-57-6285257b-2e26-47a5-9247-7bc21548b5a1.jsonl (no parseable rollout items)",
"C:\\Users\\15PRO\\.codex\\sessions\\2025\\09\\15\\rollout-2025-09-15T10-14-54-55115041-59dc-4fd7-ba32-39e44066dc2a.jsonl (no parseable rollout items)"
],
"rollout DB scan errors": "13",
"rollout DB sources": "vscode=386, cli=194, subagent:thread_spawn=90, subagent:other=14, subagent:review=1",
"rollout DB stale rows": "0"
},
"issues": [
{
"severity": "warning",
"cause": "rollout scan was incomplete or found bad files",
"measured": "13 scan errors, 0 malformed names, scan cap reached: false",
"expected": "rollout directories are fully scannable",
"remedy": "Check file permissions and unexpected files under CODEX_HOME sessions.",
"fields": []
}
],
"remediation": null,
"durationMs": 16690
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language zh-CN",
"details": {
"EDITOR": "not set",
"VISUAL": "not set",
"os": "Windows 10.0.19045 (Windows 10 Pro) [64-bit]",
"os language": "zh-CN",
"os type": "Windows",
"os version": "10.0.19045"
},
"remediation": null,
"durationMs": 0
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"WT_SESSION": "present",
"color output": "enabled",
"console input code page": "936",
"console output code page": "936",
"stderr console mode": "0x00000007 (VT processing: true)",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout console mode": "0x00000007 (VT processing: true)",
"stdout is terminal": "true",
"terminal": "Windows Terminal",
"terminal size": "131x38"
},
"remediation": null,
"durationMs": 0
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "git repo root",
"terminal title project value": "15PRO",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.144.5",
"check for update on startup": "true",
"last checked at": "2026-07-18T03:26:09.806155500Z",
"latest version": "0.144.6",
"latest version status": "newer version is available",
"update action": "standalone installer",
"version cache": "C:\\Users\\15PRO\\.codex\\version.json"
},
"remediation": null,
"durationMs": 1313
}
}
}
What issue are you seeing?
使用codex cli过程中,有时会出现输入乱码的情况 无论按键盘的哪个键都会乱码
<img width="2375" height="115" alt="Image" src="https://github.com/user-attachments/assets/23a8a736-c6c8-4027-8b80-758901d1e15c" />
What steps can reproduce the bug?
使用codex cli过程中
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗