mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
make tui a build option
This commit is contained in:
1 parent
e96cd19295
commit
1214aed3a7
9 files changed
+27
-15
No files matched your search
+1
-1
@@ -70,7 +70,7 @@
|
||||
// palerain host options
|
||||
#define host_option_dfuhelper_only (1 << 0) /* dfuhelper only */
|
||||
#define host_option_pongo_exit (1 << 1) /* boot to clean pongo shell */
|
||||
#ifdef DEV_BUILD
|
||||
#ifdef TUI
|
||||
#define host_option_tui (1 << 2) /* use terminal user interface */
|
||||
#else
|
||||
#define host_option_res1 (1 << 2) /* reserved */
|
||||
|
||||
+2
-2
@@ -149,7 +149,7 @@ typedef unsigned char niarelap_file_t[];
|
||||
extern unsigned int verbose;
|
||||
|
||||
extern char* pongo_path;
|
||||
#ifdef DEV_BUILD
|
||||
#ifdef TUI
|
||||
extern bool tui_started;
|
||||
#endif
|
||||
|
||||
@@ -226,7 +226,7 @@ void io_stop(stuff_t *stuff);
|
||||
|
||||
void print_credits(void);
|
||||
|
||||
#ifdef DEV_BUILD
|
||||
#ifdef TUI
|
||||
#include <newt.h>
|
||||
newtComponent get_tui_log();
|
||||
newtComponent set_tui_log(newtComponent co);
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <locale.h>
|
||||
#include <unistd.h>
|
||||
#include <newt.h>
|
||||
#include <kerninfo.h>
|
||||
|
||||
#define WIDTH 76
|
||||
#define HEIGHT 19
|
||||
|
||||
Reference in new issue
Block a user