Merge pull request #32 from Akasch/fix_screen_offset
streamer.screen: fix missing flights in view
This commit is contained in:
commit
9e1cc2c5a2
@ -102,7 +102,7 @@ class Screen(Thread):
|
|||||||
|
|
||||||
for row in range(3, self.scr_h - 3):
|
for row in range(3, self.scr_h - 3):
|
||||||
icao = None
|
icao = None
|
||||||
idx = row + self.offset
|
idx = row + self.offset - 3
|
||||||
|
|
||||||
if idx > len(icaos) - 1:
|
if idx > len(icaos) - 1:
|
||||||
line = ' '*(self.scr_w-2)
|
line = ' '*(self.scr_w-2)
|
||||||
|
Loading…
Reference in New Issue
Block a user