@@ -127,6 +127,8 @@ type UI struct {
127127 height int
128128 layout layout
129129
130+ isTransparent bool
131+
130132 focus uiFocusState
131133 state uiState
132134
@@ -296,8 +298,12 @@ func New(com *common.Common) *UI {
296298 // set initial state
297299 ui.setState(desiredState, desiredFocus)
298300
301+ opts := com.Config().Options
302+
299303 // disable indeterminate progress bar
300− ui.progressBarEnabled = com.Config().Options.Progress == nil || *com.Config().Options.Progress
304+ ui.progressBarEnabled = opts.Progress == nil || *opts.Progress
305+ // enable transparent mode
306+ ui.isTransparent = opts.TUI.Transparent != nil && *opts.TUI.Transparent
301307
302308 return ui
303309}
@@ -1884,7 +1890,9 @@ func (m *UI) Draw(scr uv.Screen, area uv.Rectangle) *tea.Cursor {
18841890func (m *UI) View() tea.View {
18851891 var v tea.View
18861892 v.AltScreen = true
1887− v.BackgroundColor = m.com.Styles.Background
1893+ if !m.isTransparent {
1894+ v.BackgroundColor = m.com.Styles.Background
1895+ }
18881896 v.MouseMode = tea.MouseModeCellMotion
18891897 v.WindowTitle = "crush " + home.Short(m.com.Config().WorkingDir())
18901898