Skip to content

Commit

Permalink
Merge pull request #375 from szaydel/topic/szaydel/term-illumos-use-n…
Browse files Browse the repository at this point in the history
…amed-constants

Used named constants instead of magic numbers in illumos-specific code
  • Loading branch information
dnephin authored Oct 15, 2023
2 parents 4c5af78 + 32fa357 commit 200e4de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/filewatcher/term_illumos.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package filewatcher

const tcGet = 0x540d
const tcSet = 0x540e
import "golang.org/x/sys/unix"

const tcGet = unix.TCGETS
const tcSet = unix.TCSETS

0 comments on commit 200e4de

Please sign in to comment.