We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf622fe + c2d660c commit 319d609Copy full SHA for 319d609
1 file changed
cmd/util.go
@@ -330,7 +330,8 @@ func textToMarkdown(text string) string {
330
// to avoid some markdown rendering garbage going to other outputs that
331
// don't support some control chars.
332
func isOutputTerminal() bool {
333
- if !terminal.IsTerminal(syscall.Stdout) || !terminal.IsTerminal(syscall.Stderr) {
+ if !terminal.IsTerminal(int(syscall.Stdout)) ||
334
+ !terminal.IsTerminal(int(syscall.Stderr)) {
335
return false
336
}
337
return true
0 commit comments