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
commit 9e1cc2c5a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)