Skip to content

Commit

Permalink
empty chatbox after submission
Browse files Browse the repository at this point in the history
  • Loading branch information
adred committed May 16, 2024
1 parent 629d55a commit 0b3bb11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/sidebar/aichat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ class ChatSidebar extends React.Component<{}, {}> {
}

submitChatMessage(messageStr: string) {
GlobalModel.sidebarchatModel.resetCmdAndOutput();
const curLine = GlobalModel.inputModel.curLine;
const prtn = GlobalModel.submitChatInfoCommand(messageStr, curLine, false);
prtn.then((rtn) => {
Expand Down

0 comments on commit 0b3bb11

Please sign in to comment.