mirror of
https://github.com/tmux/tmux.git
synced 2026-10-08 02:34:28 +00:00
Show match count in copy mode, GitHub issue 5399.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: options-table.c,v 1.250 2026/10/07 12:55:41 nicm Exp $ */
|
||||
/* $OpenBSD: options-table.c,v 1.251 2026/10/07 12:59:50 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -1415,8 +1415,12 @@ const struct options_table_entry options_table[] = {
|
||||
"#{t/p:top_line_time}#{?#{e|>:#{top_line_time},0}, ,}"
|
||||
"[#{copy_position}/#{copy_position_limit}]"
|
||||
"#{?search_timed_out, (timed out),"
|
||||
"#{?search_count, (#{search_count}"
|
||||
"#{?search_count_partial,+,} results),}}",
|
||||
"#{?search_count_present, ("
|
||||
"#{?#{==:#{search_count},0},0 matches,"
|
||||
"#{?search_count_partial,#{search_count}+ matches,"
|
||||
"#{?#{==:#{search_count},1},1 of 1 match,"
|
||||
"#{?search_count_current,#{search_count_current} of "
|
||||
"#{search_count} matches,#{search_count} matches}}}}),}}",
|
||||
.text = "Format of the position indicator in copy mode."
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user