Skip to content

Commit

Permalink
avoid unneeded ioctl calls
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed May 4, 2023
1 parent ee78354 commit e7fdc7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,9 @@ func (e *callExpr) eval(app *app, args []string) {
if !app.nav.init {
return
}
app.ui.sxScreen.updateSizes(app.ui.screen.Size())
if gOpts.sixel {
app.ui.sxScreen.updateSizes(app.ui.screen.Size())
}
app.ui.renew()
app.ui.screen.Sync()
if app.nav.height != app.ui.wins[0].h {
Expand Down

0 comments on commit e7fdc7a

Please sign in to comment.