Skip to content

Commit

Permalink
refactor: remove commented code: short answer: yes
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Jun 19, 2024
1 parent 92b4787 commit 3dcc33e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/get_todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,6 @@ def get_todo(
return todo.set_display_text(
_set_once(mode, chars, position, todo.get_color()),
)
# Why isn't this bit necessary? Does the for loop print it correctly regardless?
# if position == len(chars):
# win.addch(1, len(chars) + 1, "█")
for i, char in enumerate("".join(chars).ljust(win.getmaxyx()[1] - 2)):
# why does acurses break if the following line uses addch rather than addstr?
win.addstr(
Expand Down

0 comments on commit 3dcc33e

Please sign in to comment.