mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
style(format): run stylua
This commit is contained in:
parent
0532d3a94d
commit
ef748d4a6b
1 changed files with 2 additions and 1 deletions
|
@ -315,7 +315,8 @@ end
|
|||
---@param cmd string|string[]
|
||||
---@param go_back boolean? whether or not to return to original window
|
||||
function Terminal:send(cmd, go_back)
|
||||
cmd = type(cmd) == "table" and with_cr(self.newline_chr, unpack(cmd)) or with_cr(self.newline_chr, cmd --[[@as string]])
|
||||
cmd = type(cmd) == "table" and with_cr(self.newline_chr, unpack(cmd))
|
||||
or with_cr(self.newline_chr, cmd --[[@as string]])
|
||||
fn.chansend(self.job_id, cmd)
|
||||
self:scroll_bottom()
|
||||
if go_back and self:is_focused() then
|
||||
|
|
Loading…
Reference in a new issue