From 598a788ab97d1aeae790940df98317d2c1602e16 Mon Sep 17 00:00:00 2001
From: pgen
Date: Wed, 8 May 2024 23:43:24 +0200
Subject: Add a -hbar|-shroll_bar option
It can be useful to always have a horizontal scroll bar when certain
lines are truncated in column or line mode, even if no lines are currently
truncated among those displayed.
---
smenu.h | 3 +++
1 file changed, 3 insertions(+)
(limited to 'smenu.h')
diff --git a/smenu.h b/smenu.h
index 2d61e99..78f1d22 100755
--- a/smenu.h
+++ b/smenu.h
@@ -190,6 +190,9 @@ struct toggle_s
int no_scrollbar; /* 1 to disable the scrollbar display else 0. */
int no_hor_scrollbar; /* 1 to disable the horizontab scrollbar *
| display else 0. */
+ int hor_scrollbar; /* 1 to always enable the scrollbar display *
+ * when lines are truncated in line/col mode *
+ * else 0. */
int blank_nonprintable; /* 1 to try to display non-blanks in *
| symbolic form else 0. */
int keep_spaces; /* 1 to keep the trailing spaces in columns *
--
cgit v1.2.3