Remove superfluous if-block.

pull/233/head
Wouter R 2018-01-27 19:08:28 +01:00
parent fee390d1b5
commit 2f5394bfed
1 changed files with 0 additions and 5 deletions

View File

@ -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
}