acp: Stay in edit mode when current completion ends (#36413)
When a turn ends and the checkpoint is updated, `AcpThread` emits `EntryUpdated` with the index of the user message. This was causing the message editor to be recreated and, therefore, lose focus. Release Notes: - N/A
This commit is contained in:
parent
6bf666958c
commit
db31fa67f3
4 changed files with 214 additions and 70 deletions
|
@ -670,6 +670,7 @@ pub struct AcpThread {
|
|||
session_id: acp::SessionId,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum AcpThreadEvent {
|
||||
NewEntry,
|
||||
EntryUpdated(usize),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue