resizing window after #1672 leaves traces in history of approval requests
What version of Codex is running?
0.0.0 (c66c99c5b544a3334a3ee84c3cf28187438e7715)
Which model were you using?
irrelevant
What platform is your computer?
Linux 6.16.0-rc7-1-mainline x86_64 unknown
What steps can reproduce the bug?
- ask some stuff
- start resizing the window a bunch (specifically the width)
What is the expected behavior?
the history only should contain actual chat history
What do you see instead?
Let's make sure to count the lines in total
before moving forward.
command running...
$ bash -lc 'wc -l zsh/.zshrc'
╭Review──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│Shell Command │
│ ▶ Yes (y) │
│ Yes, always approve this exact command forthissession (a)│
│ Edit or give feedback (e) │
│ No, and keep going (n) │
command running...
$ bash -lc "nl -ba zsh/.zshrc | sed -n '1,15p'"
command running...
$ bash -lc "nl -ba zsh/.zshrc | sed -n '15,60p'"
command running...
$ bash -lc "nl -ba zsh/.zshrc | tail -n +140 | sed -n '1,20p'"
╭─────────────────────────────────────────────────────────────────────╭────────────────────────────────────────────────────────────────────╮
│ Working [...] waiting for logs… │
│ │
│ │
╭─────────────────────────────────────────────────────────────╮
│ Working [...] waiting for logs… │
│╭─────────────────────────────────────────────────────╮
│ Working [...] waiting for logs…╭Review────────────────────────────────────────╮
│Shell Command │
│ ▶ Yes (y) │
│ Yes, always approve this exact command for│
╭Review─────────────────────────────────╮
│Shell Command │
│ ▶ Yes (y) │
│ Yes, always approve this exact comm│
╭Review─────────────────────────╮
│Shell Command │
│ ▶ Yes (y) │
│ Yes, always approve this ex│
command running...
$ bash -lc "nl -ba zsh/.zshrc | sed -n '160,170p'"
╭Review───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│Shell Command │
│ ▶ Yes (y) │
│ Yes, always approve this exact command for this session (a) │
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗