github.com/markusbkk/elvish@v0.0.0-20231204143114-91dc52438621/pkg/sys/eunix/termios_notbsd.go (about)

     1  //go:build linux || solaris
     2  // +build linux solaris
     3  
     4  // Copyright 2015 go-termios Author. All Rights Reserved.
     5  // https://github.com/go-termios/termios
     6  // Author: John Lenton <chipaca@github.com>
     7  
     8  package eunix
     9  
    10  import "golang.org/x/sys/unix"
    11  
    12  const (
    13  	getAttrIOCTL      = unix.TCGETS
    14  	setAttrNowIOCTL   = unix.TCSETS
    15  	setAttrDrainIOCTL = unix.TCSETSW
    16  	setAttrFlushIOCTL = unix.TCSETSF
    17  	flushIOCTL        = unix.TCFLSH
    18  )