Skip to content

Commit

Permalink
fix(termenv): remove unused method
Browse files Browse the repository at this point in the history
Fixes: 7d89746 ("fix: compiling js/wasm/plan9/aix failed missing method ColorProfile and EnableVirtualTerminalProcessing")
  • Loading branch information
aymanbagabas committed Jan 31, 2023
1 parent 7d89746 commit 3848164
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions termenv_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ package termenv

import "io"

func colorProfile() Profile {
// ColorProfile returns the supported color profile:
// ANSI256
func (o Output) ColorProfile() Profile {
return ANSI256
}

Expand All @@ -19,12 +21,6 @@ func (o Output) backgroundColor() Color {
return ANSIColor(0)
}

// ColorProfile returns the supported color profile:
// Default ANSI
func (o *Output) ColorProfile() Profile {
return ANSI
}

// EnableVirtualTerminalProcessing enables virtual terminal processing on
// Windows for w and returns a function that restores w to its previous state.
// On non-Windows platforms, or if w does not refer to a terminal, then it
Expand Down

0 comments on commit 3848164

Please sign in to comment.