mirror of
https://github.com/troglobit/finit.git
synced 2026-11-17 19:30:29 +00:00
initctl: Use actual terminal/screen width for table listings
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
91480a0f02
commit
405cf4d997
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#include <lite/lite.h>
|
#include <lite/lite.h>
|
||||||
|
|
||||||
#define SCREEN_WIDTH 80 /* Calculate screen width as well, later */
|
#define SCREEN_WIDTH screen_width()
|
||||||
#include <lite/conio.h>
|
#include <lite/conio.h>
|
||||||
|
|
||||||
#include "finit.h"
|
#include "finit.h"
|
||||||
|
|||||||
+2
-2
@@ -28,9 +28,9 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <lite/lite.h>
|
#include <lite/lite.h>
|
||||||
|
|
||||||
#define SCREEN_WIDTH 80 /* Calculate screen width as well, later */
|
#define SCREEN_WIDTH screen_width()
|
||||||
#include <lite/conio.h>
|
#include <lite/conio.h>
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
static const char *cwd;
|
static const char *cwd;
|
||||||
static const char *available = FINIT_RCSD "/available";
|
static const char *available = FINIT_RCSD "/available";
|
||||||
|
|||||||
Reference in new issue
Block a user