Skip to content
Myr

ttyname_windows.go

This file

Path

src/tui/ttyname_windows.go

21 lines · 304 bytes · Go

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 76efddd point at it.

bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd

lines 1–21why, one step back
1//go:build windows
23package tui45import (6 "os"7)89func ttyname() string {10 return ""11}1213// TtyIn on Windows returns os.Stdin14func TtyIn(ttyDefault string) (*os.File, error) {15 return os.Stdin, nil16}1718// TtyOut on Windows returns nil19func TtyOut(ttyDefault string) (*os.File, error) {20 return nil, nil21}