apprt: end_search

This commit is contained in:
Mitchell Hashimoto
2025-11-25 12:13:57 -08:00
parent b084889782
commit b7e70ce534
6 changed files with 49 additions and 2 deletions

View File

@@ -179,6 +179,12 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Navigate to the previous search result, if any.",
} },
.search => comptime &.{.{
.action = .{ .search = "" },
.title = "End Search",
.description = "End a search if one is active.",
}},
.increase_font_size => comptime &.{.{
.action = .{ .increase_font_size = 1 },
.title = "Increase Font Size",
@@ -620,7 +626,6 @@ fn actionCommands(action: Action.Key) []const Command {
.csi,
.esc,
.cursor_key,
.search,
.set_font_size,
.scroll_to_row,
.scroll_page_fractional,