This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/internal/tui/splitinput_windows.go

21 lines
620 B
Go

//go:build windows
package tui
import "io"
type splitInput struct{}
func newSplitInput(_ interface{}, _ io.Writer, _ string, _ func([]string) ([]string, []string)) *splitInput {
return &splitInput{}
}
func (s *splitInput) Enter() io.Writer { return nil }
func (s *splitInput) Exit() ([]string, string) { return nil, "" }
func (s *splitInput) SetPrompt(_ string) {}
func (s *splitInput) PopQueue() (string, bool) { return "", false }
func (s *splitInput) EchoQueuedInput(_ string) {}
func (s *splitInput) runQueuedCommand(cmd queuedCommand) string {
_, msg := runQueuedCommand(nil, cmd)
return msg
}