summary refs log tree commit diff stats
path: root/lib/ui/context.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-11 19:52:21 -0400
committerDrew DeVault <sir@cmpwn.com>2018-06-11 19:52:21 -0400
commitd67c8a60ef9a326ba7e2ff0b5755d8eba629d4eb (patch)
tree2d3084b91b5e8040be07bc5fd5c9606ade578f35 /lib/ui/context.go
parent1c41b63f08d9b46ed558b0b3470cd2a2a9dfaf97 (diff)
downloadaerc-d67c8a60ef9a326ba7e2ff0b5755d8eba629d4eb.tar.gz
Clean up some old code
Diffstat (limited to 'lib/ui/context.go')
-rw-r--r--lib/ui/context.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/ui/context.go b/lib/ui/context.go
index 8031689..1665819 100644
--- a/lib/ui/context.go
+++ b/lib/ui/context.go
@@ -77,9 +77,6 @@ func (ctx *Context) Printf(x, y int, style tcell.Style,
 		return y < height
 	}
 	for _, ch := range str {
-		if str == " こんにちは " {
-			fmt.Printf("%c\n", ch)
-		}
 		switch ch {
 		case '\n':
 			if !newline() {
@@ -102,10 +99,6 @@ func (ctx *Context) Printf(x, y int, style tcell.Style,
 	return runewidth.StringWidth(str)
 }
 
-//func (ctx *Context) Screen() tcell.Screen {
-//	return ctx.screen
-//}
-
 func (ctx *Context) Fill(x, y, width, height int, rune rune, style tcell.Style) {
 	vp := views.NewViewPort(ctx.viewport, x, y, width, height)
 	vp.Fill(rune, style)