### What version of Codex is running? codex-cli 0.40.0 ### Which model were you using? gpt-5-codex-high ### What platform is your computer? Darwin 24.6.0 arm64 arm ### What steps can reproduce the bug? 1. Open codex on a terminal running fish shell and interact with it for a while 2. Exit the cli by pressing `ctrl+c` 3. Try any of the normal shell keys up/down arrows for history, `ctrl+v` for pasting text in the terminal ### What is the expected behavior? Fish shell keybindings should return to normal after exiting codex. ### What do you see instead? <img width="697" height="258" alt="Image" src="https://github.com/user-attachments/assets/be5a956e-644a-4f07-949d-665babc3cf6c" /> Closing the terminal or starting a new tab/window works fine which suggests that keybindings are loaded correctly once fish restarts. ### Additional information fish, version 4.0.8 Ghostty 1.2.0 Version - version: 1.2.0 - channel: stable Build Config - Zig version : 0.14.1 - build mode : builtin.OptimizeMode.ReleaseFast - app runtime : apprt.Runtime.none - font engine : font.main.Backend.coretext - renderer : renderer.generic.Renderer(renderer.Metal) - libxev : kqueue
Activity
[-]Codex Sometimes Breaks Fish Keybindings[/-][+]Codex Sometimes Breaks Fish Key Bindings[/+]etraut-openai commentedon Jan 17, 2026
Closing out old bugs.