summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-01-11 12:53:07 +0100
committerDaniel Lange <DLange@git.local>2021-01-11 12:53:07 +0100
commit1ffe5d79bd1285ee148f8dd7a95a383d83ba4473 (patch)
tree7b1b756b8961a93f7a73a75643dd27da8301109e
parent8502f4e64f61ab6b8b60203e2ed92a26138d750d (diff)
Make Infoscreens the correct height
-rw-r--r--CommandScreen.c2
-rw-r--r--EnvScreen.c2
-rw-r--r--OpenFilesScreen.c2
-rw-r--r--ProcessLocksScreen.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/CommandScreen.c b/CommandScreen.c
index 56b752d6..12b1987d 100644
--- a/CommandScreen.c
+++ b/CommandScreen.c
@@ -60,7 +60,7 @@ const InfoScreenClass CommandScreen_class = {
CommandScreen* CommandScreen_new(Process* process) {
CommandScreen* this = AllocThis(CommandScreen);
- return (CommandScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 3, " ");
+ return (CommandScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 2, " ");
}
void CommandScreen_delete(Object* this) {
diff --git a/EnvScreen.c b/EnvScreen.c
index 0cdc4cac..acd1f330 100644
--- a/EnvScreen.c
+++ b/EnvScreen.c
@@ -17,7 +17,7 @@
EnvScreen* EnvScreen_new(Process* process) {
EnvScreen* this = xMalloc(sizeof(EnvScreen));
Object_setClass(this, Class(EnvScreen));
- return (EnvScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 3, " ");
+ return (EnvScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 2, " ");
}
void EnvScreen_delete(Object* this) {
diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c
index b1137c7b..75eb2d34 100644
--- a/OpenFilesScreen.c
+++ b/OpenFilesScreen.c
@@ -74,7 +74,7 @@ OpenFilesScreen* OpenFilesScreen_new(const Process* process) {
} else {
this->pid = process->pid;
}
- return (OpenFilesScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 3, " FD TYPE MODE DEVICE SIZE NODE NAME");
+ return (OpenFilesScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 2, " FD TYPE MODE DEVICE SIZE NODE NAME");
}
void OpenFilesScreen_delete(Object* this) {
diff --git a/ProcessLocksScreen.c b/ProcessLocksScreen.c
index 3e7762a2..57596156 100644
--- a/ProcessLocksScreen.c
+++ b/ProcessLocksScreen.c
@@ -27,7 +27,7 @@ ProcessLocksScreen* ProcessLocksScreen_new(const Process* process) {
this->pid = process->tgid;
else
this->pid = process->pid;
- return (ProcessLocksScreen*) InfoScreen_init(&this->super, process, NULL, LINES-3, " ID TYPE EXCLUSION READ/WRITE DEVICE:INODE START END FILENAME");
+ return (ProcessLocksScreen*) InfoScreen_init(&this->super, process, NULL, LINES - 2, " ID TYPE EXCLUSION READ/WRITE DEVICE:INODE START END FILENAME");
}
void ProcessLocksScreen_delete(Object* this) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy