Merge pull request #329 from DrDoof/feat/cmd-output

httpd: answer /cmd with what the command printed, and show it in the console tab
This commit is contained in:
René van Dorst authored and GitHub committed 2026-09-03 20:33:26 +00:00
commit 6c43091b7a
7 files changed
+63 -6

No files matched your search

+4
View File
@@ -37,6 +37,10 @@ extern __xdata uint8_t sbuf[SBUF_SIZE];
// Size of the TCP Output buffer
#define TCP_OUTBUF_SIZE 2500
// Appended when a captured command wrote more than the output buffer holds,
// so a clipped listing is visibly clipped instead of silently short.
#define CMD_TRUNCATED "\n[output truncated]\n"
// Size of the port name, including the terminating null byte
#define PORT_NAME_SIZE 32