File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7878--- @param prompt string
7979--- @param opts ? SendMessageOpts
8080function M .run (prompt , opts )
81- opts = vim .tbl_deep_extend (' force' , { new_session = false , focus = ' input ' }, opts or {})
81+ opts = vim .tbl_deep_extend (' force' , { new_session = false , focus = ' output ' }, opts or {})
8282 return core .open (opts ):and_then (function ()
8383 return core .send_message (prompt , opts )
8484 end )
8787--- @param prompt string
8888--- @param opts ? SendMessageOpts
8989function M .run_new_session (prompt , opts )
90- opts = vim .tbl_deep_extend (' force' , { new_session = true , focus = ' input ' }, opts or {})
90+ opts = vim .tbl_deep_extend (' force' , { new_session = true , focus = ' output ' }, opts or {})
9191 return core .open (opts ):and_then (function ()
9292 return core .send_message (prompt , opts )
9393 end )
You can’t perform that action at this time.
0 commit comments