mirror of https://github.com/xzeldon/htop.git
Leave less right margin next to long (text) meters
This commit is contained in:
parent
ba630e8ad5
commit
b612256486
2
Header.c
2
Header.c
|
@ -156,7 +156,7 @@ void Header_draw(const Header* this) {
|
||||||
for (int y = 0; y < height; y++) {
|
for (int y = 0; y < height; y++) {
|
||||||
mvhline(y, 0, ' ', COLS);
|
mvhline(y, 0, ' ', COLS);
|
||||||
}
|
}
|
||||||
const int width = COLS / this->nrColumns - (pad * this->nrColumns - 1) - 1;
|
const int width = COLS / this->nrColumns - pad;
|
||||||
int x = pad;
|
int x = pad;
|
||||||
|
|
||||||
Header_forEachColumn(this, col) {
|
Header_forEachColumn(this, col) {
|
||||||
|
|
Loading…
Reference in New Issue