willothy / flatten.nvim

Open files and command output from wezterm, kitty, and neovim terminals in your current neovim instance
https://luarocks.org/modules/willothy/flatten.nvim
MIT License
473 stars 13 forks source link

docs: improve toggleterm example #58

Closed loqusion closed 1 year ago

loqusion commented 1 year ago

Handles cases where there is more than one terminal. Also uses idempotent operations (i.e. open/close instead of toggle) to eliminate race conditions.