summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-17 21:40:53 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-17 21:40:53 +0000
commit95f48a219a3b270e4e6b235745b094db4b7fe9f3 (patch)
treefe233dfc86580889bc4592121ab13297b79d253f /options-table.c
parent87d092d2262031cfb714069525d9d7ec894b7fcc (diff)
Add a wrap-search option to turn off wrapping of searches in copy
mode. From Jacobo de Vera.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 305bada8..fa71f399 100644
--- a/options-table.c
+++ b/options-table.c
@@ -669,6 +669,11 @@ const struct options_table_entry window_options_table[] = {
.default_str = "#I:#W#F"
},
+ { .name = "wrap-search",
+ .type = OPTIONS_TABLE_FLAG,
+ .default_num = 1
+ },
+
{ .name = "xterm-keys",
.type = OPTIONS_TABLE_FLAG,
.default_num = 0