mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-22 15:47:37 +00:00
281bdc30df
In line_update(), set lastcol correctly after moving to any non-zero column, so the "overwrite old stuff" part does not attempt to address negative offsets in the current line. Rewrite setup_buffer() to always allocate at least 80 characters, otherwise various calls to summary_format() will overwrite the end of the buffers, if the screen width gets small enough. MFC after: 1 week |
||
---|---|---|
.. | ||
commands.c | ||
commands.h | ||
display.c | ||
display.h | ||
layout.h | ||
loadavg.h | ||
machine.c | ||
machine.h | ||
Makefile | ||
Makefile.depend | ||
screen.c | ||
screen.h | ||
top.1 | ||
top.c | ||
top.h | ||
username.c | ||
username.h | ||
utils.c | ||
utils.h |