mirror of
https://github.com/facebook/sapling.git
synced 2024-12-28 15:44:27 +03:00
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:
parent
0f7f9e9d11
commit
f1b827d7c7
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user