From 3dcc33ebd10b9aa72cf9667311f047772da8dd57 Mon Sep 17 00:00:00 2001 From: Mecaneer23 <74385377+Mecaneer23@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:17:37 -0500 Subject: [PATCH] refactor: remove commented code: short answer: yes --- src/get_todo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/get_todo.py b/src/get_todo.py index 549a620..e700850 100644 --- a/src/get_todo.py +++ b/src/get_todo.py @@ -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(