fix(tmux): fixed tmux.clear_all function

Using ipairs instead of pairs in this function caused it to stop working
for some use cases.
This commit is contained in:
Pranav Rao 2021-11-11 18:40:12 -05:00
parent 222b984dac
commit 51d68e2ec6

View File

@ -144,7 +144,7 @@ end
M.clear_all = function()
log.trace("tmux: clear_all(): Clearing all tmux windows.")
for _, window in ipairs(tmux_windows) do
for _, window in pairs(tmux_windows) do
-- Delete the current tmux window
local _, _, _ = utils.get_os_command_output({
"tmux",