oops, fix broken copy-mode

This commit is contained in:
Jorge Morante 2020-12-28 20:26:14 +01:00
parent f0de6fafd7
commit 70d1dedacb
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class Tmux
if pane.pane_in_mode == '1'
start_line = -pane.scroll_position.to_i
end_line = pane.pane_height..to_i - pane.scroll_position.to_i - 1
end_line = pane.pane_height.to_i - pane.scroll_position.to_i - 1
`#{tmux} capture-pane -J -p -t '#{pane_id}' -S #{start_line} -E #{end_line}`
else