Fix tab not clearing window when redrawing
This commit is contained in:
parent
89f6ccb87b
commit
92134a8129
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue