fix: update ctrl-z to suspend tui (#2113)

- Lean on ctrl-c and esc to interrupt.
- (Only on unix.)

https://github.com/user-attachments/assets/7ce6c57f-6ee2-40c2-8cd2-b31265f16c1c
This commit is contained in:
ae
2025-08-11 22:03:58 -07:00
committed by GitHub
parent 7051a528a3
commit 320f150c68
4 changed files with 25 additions and 6 deletions

View File

@@ -652,10 +652,6 @@ impl ChatWidget<'_> {
}
}
pub(crate) fn on_ctrl_z(&mut self) {
self.interrupt_running_task();
}
pub(crate) fn composer_is_empty(&self) -> bool {
self.bottom_pane.composer_is_empty()
}