Skip to content

Commit

Permalink
fix scanner.py; draw 1 space (not 2) after channel label
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 12, 2024
1 parent ef08a40 commit 9d0aa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples_linux/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__( # pylint: disable=too-many-arguments,invalid-name
self.x, self.y, self.width, self.win, self.color = (x, y, cols, std_scr, color)
self.win.move(self.y, self.x)
self.win.attron(curses.color_pair(self.color))
self.win.addstr(label + " ") # always labeled in MHz (4 digits)
self.win.addstr(label) # always labeled in MHz (4 digits)
for _ in range(self.width - 8): # draw the empty bar
self.win.addch(curses.ACS_HLINE)
self.win.addstr(" - ") # draw the initial signal count
Expand Down

0 comments on commit 9d0aa8d

Please sign in to comment.