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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ui/context.go b/lib/ui/context.go
index 10089179..f1cc2a95 100644
--- a/lib/ui/context.go
+++ b/lib/ui/context.go
@@ -30,7 +30,7 @@ func (ctx *Context) Window() vaxis.Window {
return ctx.window
}
-func NewContext(width, height int, vx *vaxis.Vaxis, p func(*Popover)) *Context {
+func NewContext(vx *vaxis.Vaxis, p func(*Popover)) *Context {
win := vx.Window()
return &Context{win, 0, 0, p}
}