aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/context.go')
-rw-r--r--lib/ui/context.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ui/context.go b/lib/ui/context.go
index 7936f359..fc2104df 100644
--- a/lib/ui/context.go
+++ b/lib/ui/context.go
@@ -63,7 +63,8 @@ func (ctx *Context) SetCell(x, y int, ch rune, style tcell.Style) {
}
func (ctx *Context) Printf(x, y int, style tcell.Style,
- format string, a ...interface{}) int {
+ format string, a ...interface{},
+) int {
width, height := ctx.viewport.Size()
if x >= width || y >= height {