fix(coding-agent): refresh title after extension session rename
closes #3686
This commit is contained in:
@@ -2698,6 +2698,12 @@ export class InteractiveMode {
|
||||
this.ui.requestRender();
|
||||
break;
|
||||
|
||||
case "session_info_changed":
|
||||
this.updateTerminalTitle();
|
||||
this.footer.invalidate();
|
||||
this.ui.requestRender();
|
||||
break;
|
||||
|
||||
case "message_start":
|
||||
if (event.message.role === "custom") {
|
||||
this.addMessageToChat(event.message);
|
||||
@@ -5039,8 +5045,7 @@ export class InteractiveMode {
|
||||
return;
|
||||
}
|
||||
|
||||
this.sessionManager.appendSessionInfo(name);
|
||||
this.updateTerminalTitle();
|
||||
this.session.setSessionName(name);
|
||||
this.chatContainer.addChild(new Spacer(1));
|
||||
this.chatContainer.addChild(new Text(theme.fg("dim", `Session name set: ${name}`), 1, 0));
|
||||
this.ui.requestRender();
|
||||
|
||||
Reference in New Issue
Block a user