mirror of
https://github.com/cheat/cheat.git
synced 2024-09-19 18:11:30 +02:00
33ac3d34d1
Fixes a bug whereby `cheat` would apply ANSI colorization even when outputting into a non-TTY.
12 lines
302 B
Go
12 lines
302 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build darwin,arm64,!go1.12
|
|
|
|
package unix
|
|
|
|
func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
return 0, ENOSYS
|
|
}
|