summary refs log tree commit diff
path: root/vendor/github.com/chzyer/readline/std_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/chzyer/readline/std_windows.go')
-rw-r--r--vendor/github.com/chzyer/readline/std_windows.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/chzyer/readline/std_windows.go b/vendor/github.com/chzyer/readline/std_windows.go
new file mode 100644
index 0000000..b10f91b
--- /dev/null
+++ b/vendor/github.com/chzyer/readline/std_windows.go
@@ -0,0 +1,9 @@
+// +build windows
+
+package readline
+
+func init() {
+	Stdin = NewRawReader()
+	Stdout = NewANSIWriter(Stdout)
+	Stderr = NewANSIWriter(Stderr)
+}