mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 21:43:32 +02:00
update for github.com/AlecAivazis/survey => gopkg.in/AlecAivazis/survey.v1 package
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
package terminal
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
Stdout = NewAnsiStdout()
|
||||
)
|
||||
|
||||
// Print prints given arguments with escape sequence conversion for windows.
|
||||
func Print(a ...interface{}) (n int, err error) {
|
||||
return fmt.Fprint(Stdout, a...)
|
||||
}
|
||||
|
||||
// Printf prints a given format with escape sequence conversion for windows.
|
||||
func Printf(format string, a ...interface{}) (n int, err error) {
|
||||
return fmt.Fprintf(Stdout, format, a...)
|
||||
}
|
||||
|
||||
// Println prints given arguments with newline and escape sequence conversion
|
||||
// for windows.
|
||||
func Println(a ...interface{}) (n int, err error) {
|
||||
return fmt.Fprintln(Stdout, a...)
|
||||
}
|
||||
Reference in New Issue
Block a user