other: make scrollbar enabled by default (#2260)

This commit is contained in:
Clement Tsang
2026-09-22 00:56:14 -04:00
committed by GitHub
parent 1426cbbaa0
commit eb9c47d8d4
4 changed files with 6 additions and 6 deletions
@@ -39,7 +39,7 @@ each time:
| `process_memory_as_value` | Boolean | Deprecated - use `processes.default_memory_value`. Defaults to showing process memory usage by value. |
| `tree` | Boolean | Deprecated - use `processes.default_tree`. Defaults to showing the process widget in tree mode. |
| `show_table_scroll_position` | Boolean | Shows the scroll position tracker in table widgets. |
| `show_table_scroll_bar` | Boolean | Shows a scroll bar on the right edge of table widgets. |
| `show_table_scroll_bar` | Boolean | Shows a scroll bar on the right edge of table widgets. Enabled by default. |
| `process_command` | Boolean | Deprecated - use `processes.process_command`. Show processes as their commands by default. |
| `disable_advanced_kill` | Boolean | Deprecated - use `processes.disable_advanced_kill`. Disable being able to send signals to processes on supported Unix-like systems. Only available on Linux, macOS, and FreeBSD. |
| `read_only` | Boolean | Prevents performing any actions that affect the system (e.g. stopping processes). |
+2 -2
View File
@@ -103,8 +103,8 @@
# Shows an indicator in table widgets tracking where in the list you are.
#show_table_scroll_position = false
# Show a scroll bar on the right edge of table widgets.
#show_table_scroll_bar = false
# Show a scroll bar on the right edge of table widgets. Enabled by default.
#show_table_scroll_bar = true
# Deprecated - use processes.process_command.
# Show processes as their commands by default in the process widget.
+2 -2
View File
@@ -352,8 +352,8 @@ pub(crate) const CONFIG_TEXT: &str = r#"# This is a default config file for bott
# Shows an indicator in table widgets tracking where in the list you are.
#show_table_scroll_position = false
# Show a scroll bar on the right edge of table widgets.
#show_table_scroll_bar = false
# Show a scroll bar on the right edge of table widgets. Enabled by default.
#show_table_scroll_bar = true
# Deprecated - use processes.process_command.
# Show processes as their commands by default in the process widget.
+1 -1
View File
@@ -501,7 +501,7 @@ pub(crate) fn init_app(args: BottomArgs, config: Config) -> Result<(App, BottomL
args.general,
config
),
show_table_scroll_bar: config_or!(config, flags.show_table_scroll_bar, false),
show_table_scroll_bar: config_or!(config, flags.show_table_scroll_bar, true),
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd"))]
is_advanced_kill,
is_read_only,