Implement command history and advanced line editing
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 36s
Builds / ExectOS (amd64, debug) (push) Successful in 38s
Builds / ExectOS (i686, release) (push) Successful in 31s
Builds / ExectOS (i686, debug) (push) Successful in 33s

This commit is contained in:
2026-04-20 20:17:08 +02:00
parent a217391338
commit ba41ad8f0b
4 changed files with 284 additions and 31 deletions

View File

@@ -29,6 +29,10 @@
#define XTBL_DEBUGPORT_SCREEN 1
#define XTBL_DEBUGPORT_SERIAL 2
/* XTLDR Shell definitions */
#define XTBL_SH_MAX_LINE_LENGTH 256
#define XTBL_SH_HISTORY_ENTRIES 20
/* TUI dialog box attributes */
#define XTBL_TUI_DIALOG_GENERIC_BOX 1
#define XTBL_TUI_DIALOG_ERROR_BOX 2
@@ -41,9 +45,6 @@
/* TUI dialog box maximum width */
#define XTBL_TUI_MAX_DIALOG_WIDTH 100
/* Maximum length of a single shell command line, in wide characters */
#define XTBL_SHELL_MAX_LINE_LENGTH 256
/* C/C++ specific code */
#ifndef D__XTOS_ASSEMBLER__