Commit 6413708
committed
Pane(fix[copy_mode]): -q cancels modes, -e exits on scroll to bottom
why: copy-mode -q cancels all modes (window_pane_reset_mode_all), not
"quiet". And -e exits copy mode when scrolling reaches the bottom of
history, not "exit on copy". Verified in cmd-copy-mode.c and tmux
manpage. Internal tmux name for -e is scroll_exit.
what:
- Rename quiet param to cancel
- Rename exit_on_copy param to exit_on_bottom
- Update docstrings to reflect actual semantics1 parent c1dad0a commit 6413708
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | | - | |
| 1431 | + | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
1440 | 1440 | | |
1441 | | - | |
1442 | | - | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
1443 | 1444 | | |
1444 | 1445 | | |
1445 | | - | |
1446 | | - | |
| 1446 | + | |
| 1447 | + | |
1447 | 1448 | | |
1448 | 1449 | | |
1449 | 1450 | | |
| |||
1458 | 1459 | | |
1459 | 1460 | | |
1460 | 1461 | | |
1461 | | - | |
| 1462 | + | |
1462 | 1463 | | |
1463 | 1464 | | |
1464 | 1465 | | |
1465 | 1466 | | |
1466 | 1467 | | |
1467 | | - | |
| 1468 | + | |
1468 | 1469 | | |
1469 | 1470 | | |
1470 | 1471 | | |
| |||
0 commit comments