Breite im Terminal begrenzen
This commit is contained in:
11
internal/formatter/terminal_other.go
Normal file
11
internal/formatter/terminal_other.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !linux
|
||||
|
||||
package formatter
|
||||
|
||||
import "errors"
|
||||
|
||||
// getTerminalWidth returns the width of the stdout terminal in columns.
|
||||
// On non-linux platforms, this is not implemented and always returns an error.
|
||||
func getTerminalWidth() (int, error) {
|
||||
return 0, errors.New("not implemented on this platform")
|
||||
}
|
||||
Reference in New Issue
Block a user