summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 88d75fd1..59233347 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -7857,6 +7857,9 @@ pub const Pardes = struct {
/// Whether the live view sizes terminal `pane`: a terminal shown at two
/// sizes takes the size of the view that typed into it last, and any
/// view's once that one is gone. The others show it at that size.
+ // ponytail: a view smaller than the terminal shows its top rows, the
+ // rest cut; panning to its cursor, as tmux does, when a small view must
+ // follow a busy shell it never types into.
fn sizes(p: *Pardes, pane: *Pane) bool {
if (pane.sized_by == p.view) return true;
if (views.isOpen(p, pane.sized_by)) return false;