From 24b97784328fb2a2e6b79fbf9ed0caa52071bcb8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 31 Oct 2025 08:19:35 -0700 Subject: [PATCH] input: add more copy formatted options to the command palette --- src/input/command.zig | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/input/command.zig b/src/input/command.zig index 651ba2b30..b97b98cca 100644 --- a/src/input/command.zig +++ b/src/input/command.zig @@ -124,10 +124,18 @@ fn actionCommands(action: Action.Key) []const Command { .copy_to_clipboard => comptime &.{ .{ .action = .{ .copy_to_clipboard = .mixed }, .title = "Copy to Clipboard", - .description = "Copy the selected text to the clipboard.", + .description = "Copy the selected text to the clipboard in both plain and styled formats.", + }, .{ + .action = .{ .copy_to_clipboard = .plain }, + .title = "Copy Selection as Plain Text to Clipboard", + .description = "Copy the selected text as plain text to the clipboard.", + }, .{ + .action = .{ .copy_to_clipboard = .vt }, + .title = "Copy Selection as ANSI Sequences to Clipboard", + .description = "Copy the selected text as ANSI escape sequences to the clipboard.", }, .{ .action = .{ .copy_to_clipboard = .html }, - .title = "Copy HTML to Clipboard", + .title = "Copy Selection as HTML to Clipboard", .description = "Copy the selected text as HTML to the clipboard.", } },