]> git.0d.be Git - barnard.git/blobdiff - uiterm/textbox.go
update import path
[barnard.git] / uiterm / textbox.go
index d2233ab1278351ad1746167b15e1b8cd2833a79d..9001cdf98e5eae6e0373b8f4c7f628a20c1dc63d 100644 (file)
@@ -1,4 +1,4 @@
-package uiterm
+package uiterm // import "layeh.com/barnard/uiterm"
 
 import (
        "strings"
@@ -8,9 +8,8 @@ import (
 )
 
 type Textbox struct {
-       Text string
-       Fg   Attribute
-       Bg   Attribute
+       Text   string
+       Fg, Bg Attribute
 
        Input func(ui *Ui, textbox *Textbox, text string)