Commit 07627b8
committed
Window(fix[last_pane]): correct flag mapping for -d/-e flags
why: last-pane -d disables input and -e enables input per tmux source
(cmd-select-pane.c). The parameters were misnamed: detach mapped to -d
(actually disables input, not detach) and disable_input mapped to -e
(actually enables input). There is no "detach" flag for last-pane.
what:
- Replace detach/disable_input params with disable_input(-d)/enable_input(-e)
- Match the pattern used by Pane.select() which already maps these correctly
- Update docstrings and versionadded annotations1 parent 0ee982b commit 07627b8
1 file changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
410 | | - | |
411 | 409 | | |
| 410 | + | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | | - | |
| 417 | + | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
| 421 | + | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
| 425 | + | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
448 | 451 | | |
449 | 452 | | |
450 | 453 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
0 commit comments