update eden top to make use of the last line

Summary:
Use all available lines, now that we ignore the spurious errors that
can be thrown when calling `addnstr()` on the last line.

Reviewed By: wez

Differential Revision: D18826918

fbshipit-source-id: 7e5739207ba1a5bfa0d290da1345c9d9606b89fb
This commit is contained in:
Adam Simpkins 2019-12-05 19:25:37 -08:00 committed by Facebook Github Bot
parent 0f7f9e9d11
commit f1b827d7c7

View File

@ -172,7 +172,7 @@ class Top:
def render_rows(self, stdscr):
START_LINE = 3
line_numbers = range(START_LINE, self.height - 1)
line_numbers = range(START_LINE, self.height)
aggregated_processes = {}
for process in self.processes.values():