Skip to content

Commit 4824151

Browse files
committed
fix(input_window): properly restore input text when reopening the window
1 parent ca62c0c commit 4824151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/opencode/ui/input_window.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function M.clear_placeholder(windows)
167167
end
168168

169169
function M.recover_input(windows)
170-
M.set_content(state.input_content)
170+
M.set_content(state.input_content, windows)
171171
require('opencode.ui.mention').highlight_all_mentions(windows.input_buf)
172172
end
173173

0 commit comments

Comments
 (0)