diff options
author | Robby Zambito <contact@robbyzambito.me> | 2021-10-03 22:30:20 -0400 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2021-10-03 22:30:20 -0400 |
commit | 96a35837c63a9e8348842600f809adf1445227dd (patch) | |
tree | 3085816d862895df99c2655aae7e0ccbfdd36378 | |
parent | 8c70e74489507fc57d8d26e850d2fd117ab79fbd (diff) |
This is useful for feeding the output of raw back into todo.
-rw-r--r-- | src/todo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ static void print_raw(char *line, ssize_t line_len, FILE *ignored, size_t index) { if ((todo_raw_is_done && line[1] == '*') || (todo_raw_is_todo && line[1] == ' ')) { - printf("%s", line); + printf("%zu %s", index, line); } } |