summaryrefslogtreecommitdiff
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 000000000..b10f91bcb
--- /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)
+}