mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-13 17:40:25 +00:00
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:
parent
222b984dac
commit
51d68e2ec6
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user