File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -532,51 +532,51 @@ def split(
532
532
>>> new_pane
533
533
Pane(%2 Window(@1 1:..., Session($1 ...)))
534
534
535
- >>> new_pane.pane_at_right
536
- '1'
535
+ >>> new_pane.at_right
536
+ True
537
537
538
- >>> new_pane.pane_at_left
539
- '1'
538
+ >>> new_pane.at_left
539
+ True
540
540
541
- >>> new_pane.pane_at_top
542
- '0'
541
+ >>> new_pane.at_top
542
+ False
543
543
544
- >>> new_pane.pane_at_bottom
545
- '1'
544
+ >>> new_pane.at_bottom
545
+ True
546
546
547
547
>>> right_pane = pane.split(direction=PaneDirection.Right)
548
548
549
549
>>> right_pane
550
550
Pane(%3 Window(@1 1:..., Session($1 ...)))
551
551
552
- >>> right_pane.pane_at_right
553
- '1'
552
+ >>> right_pane.at_right
553
+ True
554
554
555
- >>> right_pane.pane_at_left
556
- '0'
555
+ >>> right_pane.at_left
556
+ False
557
557
558
- >>> right_pane.pane_at_top
559
- '1'
558
+ >>> right_pane.at_top
559
+ True
560
560
561
- >>> right_pane.pane_at_bottom
562
- '0'
561
+ >>> right_pane.at_bottom
562
+ False
563
563
564
564
>>> left_pane = pane.split(direction=PaneDirection.Left)
565
565
566
566
>>> left_pane
567
567
Pane(%4 Window(@1 1:..., Session($1 ...)))
568
568
569
- >>> left_pane.pane_at_right
570
- '0'
569
+ >>> left_pane.at_right
570
+ False
571
571
572
- >>> left_pane.pane_at_left
573
- '1'
572
+ >>> left_pane.at_left
573
+ True
574
574
575
- >>> left_pane.pane_at_top
576
- '1'
575
+ >>> left_pane.at_top
576
+ True
577
577
578
- >>> left_pane.pane_at_bottom
579
- '0'
578
+ >>> left_pane.at_bottom
579
+ False
580
580
"""
581
581
tmux_formats = ["#{pane_id}" + FORMAT_SEPARATOR ]
582
582
You can’t perform that action at this time.
0 commit comments