From 5566da37e7dd0ceaa64ee8d612abab337fea2387 Mon Sep 17 00:00:00 2001 From: cgoesche Date: Sat, 5 Apr 2025 01:43:04 -0400 Subject: [PATCH] more: fix broken ':!command' command key Addresses: #3509 Signed-off-by: Christian Goeschel Ndjomouo (cherry picked from commit 3f3bb6f9103daaf7a8f47ebe57cbe90bac852e6e) --- text-utils/more.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/text-utils/more.c b/text-utils/more.c index f80aeff43..64168d7ad 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -862,6 +862,9 @@ static struct number_command read_command(struct more_control *ctl) case 'p': cmd.key = more_kc_previous_file; return cmd; + case '!': + cmd.key = more_kc_run_shell; + return cmd; default: cmd.key = more_kc_unknown_command; return cmd; -- 2.47.2