Skip to content

Commit

Permalink
fix(installer): set xterm-256color
Browse files Browse the repository at this point in the history
  • Loading branch information
mattevans committed Feb 15, 2025
1 parent c76983f commit f519e54
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/tui/terminal.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package tui

import "os"

func init() {
// Set to xterm-256color as it's widely supported and works well with tview.
// If whatever terminal we're using doesn't support it, it'll fallback to
// xterm normally anyway.
os.Setenv("TERM", "xterm-256color")
}

0 comments on commit f519e54

Please sign in to comment.