Merge pull request #32 from Akasch/fix_screen_offset

streamer.screen: fix missing flights in view
This commit is contained in:
Junzi Sun
2018-11-27 17:40:56 +01:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ class Screen(Thread):
for row in range(3, self.scr_h - 3):
icao = None
idx = row + self.offset
idx = row + self.offset - 3
if idx > len(icaos) - 1:
line = ' '*(self.scr_w-2)