Harden core packages and add interactive CLI config builder (rud config/validate/test)
This commit is contained in:
parent
d37503c863
commit
99e24be6c9
29 changed files with 6763 additions and 165 deletions
16
internal/builder/term_other.go
Normal file
16
internal/builder/term_other.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//go:build !linux && !darwin && !freebsd && !netbsd && !openbsd
|
||||
|
||||
package builder
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"os"
|
||||
)
|
||||
|
||||
func isTerminal(f *os.File) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func enableRawMode(f *os.File) (func(), error) {
|
||||
return func() {}, errors.New("raw terminal mode not supported on this platform")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue