default constructor
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
package output
|
||||
|
||||
import "os"
|
||||
|
||||
type Output interface {
|
||||
Close()
|
||||
Press(...Key)
|
||||
}
|
||||
|
||||
func New() Output {
|
||||
return NewWriter(os.Stderr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user