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.
10 lines
304 B
Go
10 lines
304 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,amd64,!go1.12
|
|
|
|
package unix
|
|
|
|
//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
|