From d67c8a60ef9a326ba7e2ff0b5755d8eba629d4eb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 11 Jun 2018 19:52:21 -0400 Subject: Clean up some old code --- lib/ui/context.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/ui/context.go') 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) -- cgit v1.2.3