TUI for Todoist written with React+Ink.
0

Configure Feed

Select the types of activity you want to include in your feed.

show message and refresh after adding task

Aly Raffauf (Feb 16, 2026, 7:22 PM EST) 5cdff214 110d17d8

+4 -3
+4 -3
source/commands.ts
··· 130 130 hint: 'add <task>', 131 131 description: 'add a new task', 132 132 group: 'tasks', 133 - run: async (args, {api, tasks, setTasks}) => { 134 - const task = await api.quickAddTask({text: args}); 135 - setTasks([...tasks, task]); 133 + run: async (args, {api, setMessage, refresh}) => { 134 + await api.quickAddTask({text: args}); 135 + setMessage(`Added: ${args}`); 136 + refresh(); 136 137 }, 137 138 }, 138 139 {