quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

[BUG] task-captures append to existing line rather than new line like non-task captures

Open sigmoid-azoth opened this issue 2 years ago • 1 comments

Describe the bug Non-task captures always add newlines while task captures do not. Can we have an option to always add to a new line with tasks so the functionality is identical to non-task captures?

To Reproduce

Using these settings for a non-task capture to the bottom of the active file image

Using these settings for a task capture to the bottom of the active file image

  1. Capture with each option to an active file. If the file has a blank line at the end, the task capture will be placed on that line If the file does not have a blank line at the end, the task capture will be appended to the end of the current line

Non-task captures will always be added on a new line

Expected behavior Like non-task captures, I would expected task captures to be added to a new line instead of appended to an existing line

Screenshots quickadd

Desktop (please complete the following information):

  • OS: Windows 10

Smartphone (please complete the following information):

  • Device: Pixel 5

Additional context

This happens if I capture to the bottom of a specific file too My QuickAdd captures (screenshots above) do not include newlines

sigmoid-azoth avatar Sep 14 '21 20:09 sigmoid-azoth

add \n at the end of line in capture format, for example {{VALUE}} \n

Jackiexiao avatar Jul 28 '22 15:07 Jackiexiao