Skip to content

Commit a7d6908

Browse files
authored
Merge pull request #23 from BetterThanTomorrow:hi-focus
Make the input box stay open when it loses focus * Fixes #22
2 parents b65e2f8 + 7cac3a4 commit a7d6908

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changes to Calva Backseat Driver
44

55
## [Unreleased]
66

7+
- [Human Intelligence input box closes when focus is lost (should persist)](https://github.com/BetterThanTomorrow/calva-backseat-driver/issues/22)
8+
79
## [v0.0.15] - 2025-07-01
810

911
- [Limit the lines of REPL output to be passed to the AI by the REPL output tool](https://github.com/BetterThanTomorrow/calva-backseat-driver/issues/20)

src/calva_backseat_driver/integrations/vscode/human_intelligence.cljs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
(set! (.-title input-box) "AI Agent needs input")
1717
(set! (.-prompt input-box) prompt)
1818
(set! (.-placeholder input-box) (str "Start typing to cancel auto-dismiss (" timeout-s "s timeout)..."))
19+
(set! (.-ignoreFocusOut input-box) true)
1920
(swap! !state assoc :human-intelligence/timeout-id
2021
(js/setTimeout #(do
2122
(dispatch! [[:app/ax.log :debug "[Server] Human Intelligence timed out:"]])

0 commit comments

Comments
 (0)