Skip to content

Commit

Permalink
Merge pull request #94 from ethpandaops/feat/putty-support
Browse files Browse the repository at this point in the history
fix(installer): set xterm-256color
  • Loading branch information
mattevans authored Feb 15, 2025
2 parents c76983f + f519e54 commit 32bcff8
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 32bcff8

Please sign in to comment.