Esc while there are queued messages drops the messages back into the composer (#2687)

https://github.com/user-attachments/assets/bbb427c4-cdc7-4997-a4ef-8156e8170742
This commit is contained in:
Jeremy Rose authored and GitHub committed 2025-08-26 16:26:50 -07:00
1 parent eb161116f0
commit f2603a4e50
3 files changed
+75 -5

No files matched your search

@@ -259,7 +259,7 @@ impl ChatComposer {
/// Replace the entire composer content with `text` and reset cursor.
pub(crate) fn set_text_content(&mut self, text: String) {
self.textarea.set_text(&text);
self.textarea.set_cursor(0);
self.textarea.set_cursor(usize::MAX);
self.sync_command_popup();
self.sync_file_search_popup();
}