summaryrefslogtreecommitdiff
path: root/gocui/view.go
diff options
context:
space:
mode:
Diffstat (limited to 'gocui/view.go')
-rw-r--r--gocui/view.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/gocui/view.go b/gocui/view.go
index b88763c..912cf21 100644
--- a/gocui/view.go
+++ b/gocui/view.go
@@ -3,7 +3,6 @@ package main
import (
"fmt"
"errors"
- "strconv"
"bufio"
"strings"
@@ -60,7 +59,7 @@ func (n *node) showView() {
if (w.cuiName == "") {
log.Log(ERROR, "showView() w.cuiName was not set for widget", w)
- w.cuiName = strconv.Itoa(n.WidgetId)
+ w.cuiName = string(n.WidgetId)
}
// if the gocui element doesn't exist, create it