style(ui): simplify panels, remove borders and scrollbars, add padding, enable inline mode

This commit is contained in:
Prad Nukala committed 2026-09-30 11:54:59 -04:00
1 parent f6e979fa8c
commit d714b31027
21 files changed
+47 -35

No files matched your search

+17 -16
View File
@@ -53,38 +53,39 @@ orientation = "landscape"
# config dir (a builtin theme shadows a user theme of the same name).
theme = "cyberdream-transparent"
# Feature-specific configurations
# Each feature can have its own configuration section
# Minimal UI: no borders, no status bar, no scrollbar — padding alone
# separates the panels. tv 0.15 has no config key for inline
# mode (--inline / --height are CLI-only), so every call site in the shells,
# pj and the cables passes --inline. A channel that sets its own
# [ui.preview_panel] resets these fields to tv's defaults (rounded border),
# so cables leave that table alone.
[ui.input_bar]
# Where to place the input bar in the UI (top or bottom)
position = "top"
# The input prompt string (defaults to ">" if not specified)
prompt = ">"
prompt = "❯"
# header = "{}"
# padding = {"left": 0, "right": 0, "top": 0, "bottom": 0}
border_type = "rounded" # https://docs.rs/ratatui/latest/ratatui/widgets/block/enum.BorderType.html#variants
border_type = "none"
# a blank row between the query and the results
padding = { left = 1, right = 1, top = 0, bottom = 1 }
[ui.status_bar]
# Status bar separators (bubble):
#separator_open = ""
#separator_close = ""
# Status bar separators (box):
separator_open = ""
separator_close = ""
hidden = false
# f12 toggles it back
hidden = true
[ui.results_panel]
border_type = "rounded"
# padding = {"left": 0, "right": 0, "top": 0, "bottom": 0}
border_type = "none"
padding = { left = 1, right = 1, top = 0, bottom = 0 }
[ui.preview_panel]
# Preview panel size (percentage of screen width/height)
size = 50
#header = ""
#footer = ""
scrollbar = true
border_type = "rounded"
# padding = {"left": 0, "right": 0, "top": 0, "bottom": 0}
scrollbar = false
border_type = "none"
padding = { left = 2, right = 1, top = 0, bottom = 0 }
hidden = false
[ui.help_panel]