Skip to content
Myr

termios_unix.go

This file

Path

termios_unix.go

14 lines · 326 bytes · Go

Last changed by

Merge pull request #1118 from charmbracelet/v2-expAyman Bagabasbefore adoptiond1c8c97

History of this file

Take it

Merge pull request #1118 from charmbracelet/v2-expAyman Bagabasbefore adoptiond1c8c97

lines 1–14why, one step back
1//go:build darwin || linux || solaris || aix
2// +build darwin linux solaris aix34package tea56import (7 "github.com/charmbracelet/x/term"8 "golang.org/x/sys/unix"9)1011func (p *Program) checkOptimizedMovements(s *term.State) {12 p.useHardTabs = s.Oflag&unix.TABDLY == unix.TAB013 p.useBackspace = s.Lflag&unix.BSDLY == unix.BS014}