CE Implement line editing
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m8s

This commit is contained in:
2026-03-04 02:02:05 +01:00
parent 95ea80cee9
commit 81704d7df8
20 changed files with 464 additions and 229 deletions

View File

@@ -6,6 +6,7 @@
#include <desc.h>
#include <filereader.h>
#include <filewriter.h>
#include <kb.h>
#include <path.h>
#include <process.h>
#include <stddef.h>
@@ -13,8 +14,6 @@
#include <string.h>
#include <system.h>
#define CTRL(x) ((x) - '@')
static bool run = true;
bool interp_is_running (void) { return run; }
@@ -164,7 +163,7 @@ static void cmd_cancel_proc (void) {
for (;;) {
mail_receive (&ch, 1);
if (ch == CTRL ('C'))
if (ch == KB_CTRL ('C'))
break;
}