updates tab_bar
This commit is contained in:
parent
bd0612511d
commit
192ae592bc
2 changed files with 5 additions and 3 deletions
|
|
@ -53,9 +53,11 @@ function M.move_pane(key, direction)
|
|||
end
|
||||
|
||||
function M.get_zoom_state(active_pane)
|
||||
local zoom_state = active_pane:is_zoomed() and "[Z] " or ""
|
||||
if active_pane.is_zoomed then
|
||||
return "[Z]"
|
||||
end
|
||||
|
||||
return zoom_state
|
||||
return ""
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue