From f17880d5ec783d600a3f74dff3d30acfc7d1e06c Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 2 Feb 2023 00:13:53 +0100 Subject: Add kill-ring pasting M-y can cycle through earlier cut/copies. Also fix minibuffer tokenization error and error when deleting text. Vertical scrolling also works as it should now. --- src/minibuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/minibuffer.c') diff --git a/src/minibuffer.c b/src/minibuffer.c index 41c669c..0d7f4e5 100644 --- a/src/minibuffer.c +++ b/src/minibuffer.c @@ -40,7 +40,7 @@ int32_t execute(struct command_ctx ctx, int argc, const char *argv[]) { uint8_t byte = line.text[bytei]; if (byte == ' ') { l[bytei] = '\0'; - argv[argc] = l + bytei; + argv[argc] = l + bytei + 1; ++argc; } } -- cgit v1.2.3