waveterm/waveshell/pkg/utilfn/ansi.go
Mike Sawka 097623ab51
have initial run-command return faster to the frontend for quicker updating (#549)
* have initial run-command return faster to the frontend for quicker updating.  cuts time from 70-80ms down to 20ms for an average command

* remove wlogs

* more logging cleanup

* fix focus for when start cmd returns an error
2024-04-04 15:08:45 -07:00

17 lines
248 B
Go

// Copyright 2023, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
package utilfn
func AnsiResetColor() string {
return "\033[0m"
}
func AnsiGreenColor() string {
return "\033[32m"
}
func AnsiRedColor() string {
return "\033[31m"
}