github.com/ungtb10d/git-lfs@v2.5.2+incompatible/subprocess/pty_windows.go (about)

     1  package subprocess
     2  
     3  import "os/exec"
     4  
     5  // NewTty creates a pseudo-TTY for a command and modifies it appropriately so
     6  // the command thinks it's a real terminal
     7  func NewTty(cmd *exec.Cmd) *Tty {
     8  	// Nothing special for Windows at this time
     9  	tty := &Tty{}
    10  	tty.cmd = cmd
    11  	return tty
    12  }