fix: add filename to existing text
Instead of clobbering the input text area just append the file path at the end of the input.
This could be more clever by tracking where the cursor was and inserting the text there, but this seems better than just deleting the text.
Fixes #1179
Changed to track the cursor, here's how it looks now:
@mhickman Sorry we missed this earlier, but this is great! Just merged something similar in, but the cursor functionality here is a great addition. Would you mind rebasing and I can drop in a review afterwards? (we've had some other changes to UI since you raised this PR)
Hey there! We're doing some cleanup and I believe this is mostly addressed from other UX improvements, but please do feel free to reopen this PR with a rebase if it is still relevant!