diff options
author | Sidhanth Rathod <siduck@tutanota.com> | 2022-08-18 16:14:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 16:14:56 +0530 |
commit | 674b8df9764e56a4269b3411b6b84e584f683793 (patch) | |
tree | 622ad9d99d399e328c00f672a50e1bbed5dc45ee /lua | |
parent | Merge pull request #18 from shaun-mathew/patch-1 (diff) | |
parent | fix exception when showing a terminal window (diff) |
Merge pull request #19 from musjj/patch-1
fix exception when showing a terminal window
Diffstat (limited to 'lua')
-rw-r--r-- | lua/nvterm/terminal.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvterm/terminal.lua b/lua/nvterm/terminal.lua index d797b73..b48a5e6 100644 --- a/lua/nvterm/terminal.lua +++ b/lua/nvterm/terminal.lua @@ -107,6 +107,7 @@ nvterm.hide = function(type) end nvterm.show = function(type) + terminals = util.verify_terminals(terminals) local term = type and get_type_last(type) or terminals.last nvterm.show_term(term) end |