Closed will closed 3 years ago
Following up from https://github.com/akinsho/nvim-toggleterm.lua/issues/62#issuecomment-885187362
Summary: when I was using require('toggleterm').exec(...) to run something with this configuration, the floating terminal would not auto open
require('toggleterm').exec(...)
@akinsho said:
Seems term exec doesn't open a float like it does for splits since it doesn't really seem to take the direction into consideration, maybe.
I think it is caused by go_back = true in term:send(cmd, true). I guess go_back can be made optional.
go_back = true
term:send(cmd, true)
go_back
Following up from https://github.com/akinsho/nvim-toggleterm.lua/issues/62#issuecomment-885187362
Summary: when I was using
require('toggleterm').exec(...)
to run something with this configuration, the floating terminal would not auto open@akinsho said: