summaryrefslogtreecommitdiff
path: root/opttbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'opttbl.c')
-rw-r--r--opttbl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/opttbl.c b/opttbl.c
index 58ec347f4b68..0c68ccc3cd0f 100644
--- a/opttbl.c
+++ b/opttbl.c
@@ -53,6 +53,8 @@ public int quit_on_intr; /* Quit on interrupt */
public int follow_mode; /* F cmd Follows file desc or file name? */
public int oldbot; /* Old bottom of screen behavior {{REMOVE}} */
public int opt_use_backslash; /* Use backslash escaping in option parsing */
+public LWCHAR rscroll_char; /* Char which marks chopped lines with -S */
+public int rscroll_attr; /* Attribute of rscroll_char */
#if HILITE_SEARCH
public int hilite_search; /* Highlight matched search patterns? */
#endif
@@ -117,6 +119,7 @@ static struct optname keypad_optname = { "no-keypad", NULL };
static struct optname oldbot_optname = { "old-bot", NULL };
static struct optname follow_optname = { "follow-name", NULL };
static struct optname use_backslash_optname = { "use-backslash", NULL };
+static struct optname rscroll_optname = { "rscroll", NULL };
/*
@@ -456,6 +459,10 @@ static struct loption option[] =
NULL
}
},
+ { OLETTER_NONE, &rscroll_optname,
+ STRING|REPAINT|INIT_HANDLER, 0, NULL, opt_rscroll,
+ { "right scroll character: ", NULL, NULL }
+ },
{ '\0', NULL, NOVAR, 0, NULL, NULL, { NULL, NULL, NULL } }
};