mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-02 04:02:13 +01:00
* 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
17 lines
248 B
Go
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"
|
|
}
|