cli: Fix off-by-one in the pager 76/12976/2
authorChris Luke <chrisy@flirble.org>
Sun, 10 Jun 2018 14:47:50 +0000 (10:47 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Sun, 10 Jun 2018 16:32:32 +0000 (16:32 +0000)
commit70a745d96653c2d3e72ba1704c29aaa946ed9a92
treec4cc737fe03264b0a51a915db9a8e8fdb7179b80
parent5313adc02a1f658268935a940bb706846f6e78e9
cli: Fix off-by-one in the pager

- The last line in the pager buffer was sometimes missed when
  using space/pg-dn; simple off-by-one error.

Change-Id: Id4e5f7cf0e5db4f719f87b9069d75427bc66d3f7
Signed-off-by: Chris Luke <chrisy@flirble.org>
src/vlib/unix/cli.c