From d5c5ed788888423e7d1e7552a7dc6a59af97de36 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Fri, 25 Sep 2026 12:58:38 +0100 Subject: Allow 32 inputs per module A text editor needs more keys than the workbench-era limit of 8: typing, four arrows, Backspace, Delete, Home, End and a mark already make 10. Event numbers stay 1 + 2i and 2 + 2i; the module grows by the input name tables. --- prototypes/connections/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prototypes/connections') diff --git a/prototypes/connections/module.h b/prototypes/connections/module.h index e66f6dd..c728fa8 100644 --- a/prototypes/connections/module.h +++ b/prototypes/connections/module.h @@ -12,7 +12,7 @@ * operand types (including which text a cursor belongs to), stack heights, * forward-only branches, names, constants and effects. */ enum { - PURE_MODULE_STATES = 32, PURE_MODULE_INPUTS = 8, PURE_MODULE_VIEWS = 24, + PURE_MODULE_STATES = 32, PURE_MODULE_INPUTS = 32, PURE_MODULE_VIEWS = 24, PURE_MODULE_HANDLERS = 64, PURE_MODULE_CODE = 512, PURE_MODULE_STACK = 64, PURE_MODULE_NAME = 32, PURE_MODULE_STRINGS = 32768, PURE_MODULE_HEADER = 40, PURE_MODULE_FIELDS = 32, PURE_MODULE_COLLECTIONS = 1, PURE_MODULE_CONSTANTS = 64, -- cgit v1.2.3