summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/common.go b/common.go
index 423e21a..ecd3326 100644
--- a/common.go
+++ b/common.go
@@ -108,8 +108,6 @@ func (n *Node) AppendText(str string) {
func (n *Node) GetText() string {
if (n.S != n.Text) {
log.Warn("GetText() is screwed up. TODO: fix this dumb crap")
- stuff := log.ListFlags()
- log.Warn("ListFlags() =", stuff)
}
if (n.S != "") {
return n.S
@@ -211,6 +209,11 @@ func (n *Node) Window(title string) *Node {
return n.NewWindow(title)
}
+func (n *Node) Ready() bool {
+ if n == nil {return false}
+ return true
+}
+
// This should not really do anything. as per the docs, the "Standard()" way
// should be the default way
/*