Commit ca6eaba
committed
Pane(fix[display_message]): no_expand→-l (literal), remove wrong list_formats
why: -I opens pane stdin input mode (window_pane_start_input), not suppress
expansion. -l (tmux 3.4, commit 3be36952) is the correct literal flag.
list_formats mapped to -l with doc "List format variables" — but -l
suppresses expansion, not lists variables; -a (all_formats) already
covers listing, making list_formats a wrong duplicate.
what:
- Fix no_expand to emit -l with has_gte_version("3.4") guard + warn on older
- Remove list_formats param from both overloads, implementation, and docstring
- Update no_expand docstring: "-l flag. Requires tmux 3.4+"
- Remove list_formats test case; add no_expand test verifying literal output1 parent c49eb53 commit ca6eaba
2 files changed
+12
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
597 | 596 | | |
598 | 597 | | |
599 | 598 | | |
| |||
610 | 609 | | |
611 | 610 | | |
612 | 611 | | |
613 | | - | |
614 | 612 | | |
615 | 613 | | |
616 | 614 | | |
| |||
626 | 624 | | |
627 | 625 | | |
628 | 626 | | |
629 | | - | |
630 | 627 | | |
631 | 628 | | |
632 | 629 | | |
| |||
655 | 652 | | |
656 | 653 | | |
657 | 654 | | |
658 | | - | |
| 655 | + | |
| 656 | + | |
659 | 657 | | |
660 | 658 | | |
661 | 659 | | |
| |||
669 | 667 | | |
670 | 668 | | |
671 | 669 | | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | 670 | | |
677 | 671 | | |
678 | 672 | | |
| |||
700 | 694 | | |
701 | 695 | | |
702 | 696 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | 697 | | |
710 | 698 | | |
711 | 699 | | |
712 | 700 | | |
713 | | - | |
| 701 | + | |
714 | 702 | | |
715 | 703 | | |
716 | 704 | | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
717 | 708 | | |
718 | 709 | | |
719 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
684 | 686 | | |
685 | 687 | | |
686 | 688 | | |
| |||
0 commit comments