From 1975c0d93373c41f9aef943980cb783188603e6d Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 31 Oct 2026 22:25:41 +0100 Subject: fnkeys.tes: guard against non-decimal radixes After setting a non-decimal radix (e.g. 16^R), all of the fnkeys.tes command-line editing macros would be broken. Sometimes this can happen by accident. It would be very tricky to write these macros in a way that works with any currently configured radix. So instead we now insert all of the ^T macros via :M, preserving the original radix. As the first thing we call :M#^T^R, which checks the radix against 10 and throws an error (currently division by zero, but this will be changed once we have proper error handling constructs). --- lib/fnkeys.tes | Bin 5102 -> 5469 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'lib') diff --git a/lib/fnkeys.tes b/lib/fnkeys.tes index f58a26a..d3ebc38 100644 Binary files a/lib/fnkeys.tes and b/lib/fnkeys.tes differ -- cgit v1.2.3