mirror of
https://git.ipng.ch/ipng/golang-cli.git
synced 2026-06-15 15:25:51 +00:00
14 lines
434 B
Go
14 lines
434 B
Go
// SPDX-FileCopyrightText: (C) Copyright 2026 Pim van Pelt <[email protected]>
|
|||
|
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
|
||
|
|
//go:build !openbsd
|
||
|
|
|
||
|
|
package cli
|
||
|
|
|
||
|
|
import "github.com/chzyer/readline"
|
||
|
|
|
||
|
|
// applyTermFuncs is a no-op on every platform except OpenBSD, where readline's
|
||
|
|
// native termios handling is broken and needs an override (see term_openbsd.go).
|
||
|
|
// Elsewhere readline's defaults work as-is.
|
||
|
|
func applyTermFuncs(_ *readline.Config) {}
|