Skip to content

Commit

Permalink
add ... if more records
Browse files Browse the repository at this point in the history
  • Loading branch information
inv2004 committed Jan 25, 2023
1 parent 07d5af9 commit a45228b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ttop/tui.nim
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ proc table(tb: var TerminalBuffer, pi: OrderedTableRef[uint, PidInfo],

inc y
if y > tb.height-3:
tb.setCursorPos (tb.width div 2)-1, tb.getCursorYPos()+1
tb.write "..."
break

proc filter(tb: var TerminalBuffer, filter: string, cnt: int, forceLive: bool) =
Expand Down

0 comments on commit a45228b

Please sign in to comment.