Files
codex/codex-rs/tui/src
Jeremy Rose afc377bae5 clear running commands in various places (#2325)
we have a very unclear lifecycle for the chatwidget—this should only
have to be added in one place! but this fixes the "hanging commands"
issue where the active_exec_cell wasn't correctly cleared when commands
finished.

To repro w/o this PR:
1. prompt "run sleep 10"
2. once the command starts running, press <kbd>Esc</kbd>
3. prompt "run echo hi"

Expected: 

```
✓ Completed
  └ ⌨️ echo hi

codex
hi
```

Actual:

```
⚙︎ Working
  └ ⌨️ echo hi

▌ Ask Codex to do anything
```

i.e. the "Working" never changes to "Completed".

The bug is fixed with this PR.
2025-08-15 00:01:19 +00:00
..
2025-08-12 17:37:28 -07:00
2025-08-14 16:59:47 -04:00
2025-07-31 00:06:55 +00:00
2025-08-14 14:10:05 -04:00
2025-08-05 04:23:22 +00:00
2025-08-06 18:22:14 -04:00
2025-08-12 17:37:28 -07:00
2025-08-08 10:57:16 -07:00
2025-08-12 15:35:20 -07:00