mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-22 04:18:48 +00:00
Remove superfluous if-block.
This commit is contained in:
parent
fee390d1b5
commit
2f5394bfed
@ -244,11 +244,6 @@ dump_windows() {
|
||||
if is_session_grouped "$session_name"; then
|
||||
continue
|
||||
fi
|
||||
# window_layout is not correct for zoomed windows
|
||||
if [[ "$window_flags" == *Z* ]]; then
|
||||
# get correct window layout
|
||||
window_layout="$(tmux display-message -p -t "${session_name}:${window_index}" -F "#{window_layout}")"
|
||||
fi
|
||||
echo "${line_type}${d}${session_name}${d}${window_index}${d}${window_active}${d}${window_flags}${d}${window_layout}"
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user