mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-26 09:35:52 +00:00
16 lines
357 B
Go
16 lines
357 B
Go
//go:build linux
|
|
|
|
package session
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const (
|
|
ioctlGetTermios = unix.TCGETS
|
|
ioctlSetTermios = unix.TCSETS
|
|
)
|
|
|
|
// getControlCharConstant returns the platform-specific control character constant if it exists
|
|
func getControlCharConstant(name string) (uint8, bool) {
|
|
// No platform-specific constants for Linux
|
|
return 0, false
|
|
}
|