mirror of
https://github.com/troglobit/finit.git
synced 2026-10-11 17:02:42 +07:00
initctl: Use actual terminal/screen width for table listings
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@
|
||||
#include <sys/un.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 "finit.h"
|
||||
|
||||
+2
-2
@@ -28,9 +28,9 @@
|
||||
#include <stdio.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 "util.h"
|
||||
|
||||
static const char *cwd;
|
||||
static const char *available = FINIT_RCSD "/available";
|
||||
|
||||
Reference in New Issue
Block a user