Skip to content

Commit 6243562

Browse files
authored
Avoid restoring stale input value after clear (microsoft#187513)
1 parent 56569a6 commit 6243562

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/chat/browser/chatViewPane.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export class ChatViewPane extends ViewPane implements IChatViewPane {
119119
if (this.widget.viewModel) {
120120
this.chatService.clearSession(this.widget.viewModel.sessionId);
121121
}
122+
this.viewState.inputValue = '';
122123
this.updateModel();
123124
}
124125

0 commit comments

Comments
 (0)