Skip to content

Commit

Permalink
refactor: autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Apr 14, 2024
1 parent ef3c9e3 commit 8ef0f98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
from src.clipboard import CLIPBOARD_EXISTS, copy_todo, paste_todo
from src.get_args import (
FILENAME,
GUI_TYPE,
HEADER,
NO_GUI,
GUI_TYPE,
GuiType,
)
from src.get_todo import get_todo
Expand All @@ -39,6 +39,7 @@
from src.tcurses import wrapper
else:
import curses # type: ignore

from src.working_initscr import wrapper


Expand Down Expand Up @@ -511,7 +512,8 @@ def join_lines(todos: Todos, selected: Cursor) -> None:
current_todo = int(selected)

todos[prev_todo].set_display_text(
f"{todos[prev_todo].get_display_text()} {todos[current_todo].get_display_text()}",
f"{todos[prev_todo].get_display_text()} "
+ todos[current_todo].get_display_text(),
)
selected.slide_up()
todos.pop(current_todo)
Expand Down

0 comments on commit 8ef0f98

Please sign in to comment.