Skip to content

Commit

Permalink
fix(brainstorm): remember lastquestion
Browse files Browse the repository at this point in the history
remember lastquestion
  • Loading branch information
snomiao committed Aug 10, 2024
1 parent 3fd14ca commit 4aaf3d0
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 100 deletions.
4 changes: 3 additions & 1 deletion Modules/CLX-Brainstorm.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ brainstorm()
if (ErrorLevel == 1) {
Return
}
CLX_ConfigSet("BrainStorm", "LastQuestion", cmd)

global brainstormLastQuestion := CLX_ConfigSet("BrainStorm", "LastQuestion", cmd)

msg := Trim(content . "`n`n" . cmd, OmitChars = " `t`n")

ToolTip, % t("Going to Ask AI")
Expand Down
Loading

0 comments on commit 4aaf3d0

Please sign in to comment.