summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-command-prompt.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-08-18 21:41:13 +0000
committernicm <nicm@openbsd.org>2009-08-18 21:41:13 +0000
commit88a809019a5f415ebff94173b5a65916a88088bd (patch)
tree15f65234e0cb3a2aab8cfeb3a4142233089622b1 /usr.bin/tmux/cmd-command-prompt.c
parentWhoops, getting the comparison the right way round is usually recommended. (diff)
downloadwireguard-openbsd-88a809019a5f415ebff94173b5a65916a88088bd.tar.xz
wireguard-openbsd-88a809019a5f415ebff94173b5a65916a88088bd.zip
Instead of just checking for an empty buffer, which may not be the case if
there is unconsumed data, save the previous size and use it instead. This means that activity monitoring should work in this (unlikely) event. Also remove a debugging statement that no longer seems necessary.
Diffstat (limited to 'usr.bin/tmux/cmd-command-prompt.c')
0 files changed, 0 insertions, 0 deletions