- 提升 go.mod 基线到 Go 1.20,并补齐对应测试 - 修正 Passwd / PasswdResponseSignal 语义,Ctrl+C 默认退出当前流程 - 优化 raw terminal redraw、Restore 与 StopUntil 的边界行为 - 新增 StarPipe、FrameReader/FrameWriter、ReadFullContext/WriteFullContext/CopyContext、IsTerminal/ReadPasswordContext - 收口 StarQueue / StarBuffer 语义,删除 EndWrite,统一 Close / Abort 行为 - 补齐 signal、timeout、queue、terminal、pipe、buffer 的回归测试与 race 覆盖
11 lines
161 B
Go
11 lines
161 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package stario
|
|
|
|
import "os"
|
|
|
|
func openRawTerminalInput() (*os.File, error) {
|
|
return os.OpenFile("CONIN$", os.O_RDWR, 0)
|
|
}
|