Fix tab not clearing window when redrawing

This commit is contained in:
Ben 2024-06-01 16:53:51 +02:00
parent 89f6ccb87b
commit 92134a8129
Signed by: ben
GPG key ID: 0F54A7ED232D3319
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@ end
local function displayTab(self) local function displayTab(self)
self.window.clear()
local tw,th = self.window.getSize() local tw,th = self.window.getSize()
for i, val in pairs(orders) do for i, val in pairs(orders) do
local line_num = (i-self.scrollPos)*2+1 local line_num = (i-self.scrollPos)*2+1

View file

@ -47,6 +47,7 @@ local function fetch(wait_for)
end end
local function displayTab(self) local function displayTab(self)
self.window.clear()
local tw,th = self.window.getSize() local tw,th = self.window.getSize()
display_list = {} display_list = {}
for i, val in pairs(requests) do for i, val in pairs(requests) do