This commit is contained in:
EmeraldLockdown 2026-03-24 23:26:48 -05:00
parent f371bd0350
commit f6293550dd

View file

@ -1,8 +1,8 @@
#include <stdio.h>
#if !defined(_WIN32) && !defined(_WIN64)
#include <sys/select.h>
#include <unistd.h>
#include <termios.h>
#if !defined(_WIN32) && !defined(_WIN64)
#include "linenoise/linenoise.h"
#endif
#include "djui/djui_console.h"
@ -12,7 +12,9 @@
#define TERMINAL_BUFFER_SIZE 1024
#if !defined(_WIN32) && !defined(_WIN64)
static struct linenoiseState sLinenoiseState;
#endif
static char sTerminalInput[TERMINAL_BUFFER_SIZE] = { 0 };
static bool sTerminalInitialized = false;
static bool sTerminalActive = false;