From 4794367ce0c31f820bf2bd72d44c886984e3f7ed Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 16 Jul 2025 00:15:33 +0300 Subject: the primary clipboard is now chosen by the 10th bit in the ED flags * `[q]~` was broken and resulted in crashes since it reset the clipboard character to 0. In fact, if we don't want to break the `[a]b` idiom we cannot use the numeric cell of register `~`. * Therefore we no longer use the numeric part of register `~`. Once the clipboard registers are initialized they completely replace any existing register with the same name that may have been set in the profile. So we still don't leak any memory. (But perhaps it would now be better to fail with an error if one of the clipboard registers already exist?) * Instead, bit 10 (1024) of ED is now used to change the default clipboard to the primary selection. The alternative might have been an EJ flag or even a special register containing the name of the default clipboard register. * partially reverses 8c6de6cc718debf44f6056a4c34c4fbb13bc5020 --- fallback.teco_ini | Bin 2221 -> 2225 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'fallback.teco_ini') diff --git a/fallback.teco_ini b/fallback.teco_ini index cee87dc..68814dd 100644 Binary files a/fallback.teco_ini and b/fallback.teco_ini differ -- cgit v1.2.3