Use paste_is_empty to check if there are no buffers since paste_get_top
authornicm <nicm@openbsd.org>
Sun, 4 Aug 2024 08:39:38 +0000 (08:39 +0000)
committernicm <nicm@openbsd.org>
Sun, 4 Aug 2024 08:39:38 +0000 (08:39 +0000)
commit00b011bc2193c5221f53457b48af622426769cc5
treed918fc9a9f510c2cfeae62cce359c941afbd78be
parent79ebf24a319fa0f71edbc151f30c8f623587fb65
Use paste_is_empty to check if there are no buffers since paste_get_top
will return NULL if there are no automatic buffers.
usr.bin/tmux/window-buffer.c