@@ -55,6 +55,7 @@ import (
55 "github.com/charmbracelet/ultraviolet/layout"
55 "github.com/charmbracelet/ultraviolet/layout"
56 "github.com/charmbracelet/ultraviolet/screen"
56 "github.com/charmbracelet/ultraviolet/screen"
57 "github.com/charmbracelet/x/editor"
57 "github.com/charmbracelet/x/editor"
58+ xstrings "github.com/charmbracelet/x/exp/strings"
60// MouseScrollThreshold defines how many lines to scroll the chat when a mouse
61// MouseScrollThreshold defines how many lines to scroll the chat when a mouse
@@ -650,7 +651,7 @@ func (m *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
650 termVersion := strings.ToLower(msg.Name)
651 termVersion := strings.ToLower(msg.Name)
651 // Only enable progress bar for the following terminals.
652 // Only enable progress bar for the following terminals.
652 if !m.sendProgressBar {
653 if !m.sendProgressBar {
653− m.sendProgressBar = strings.Contains(termVersion, "ghostty")
654+ m.sendProgressBar = xstrings.ContainsAnyOf(termVersion, "ghostty", "rio")
655 return m, nil
656 return m, nil
656 case tea.WindowSizeMsg:
657 case tea.WindowSizeMsg: