Keruspe / GPaste

Clipboard management system
BSD 2-Clause "Simplified" License
756 stars 54 forks source link

gpaste-client is overwriting/replacing existing records #439

Closed rbjorklin closed 7 months ago

rbjorklin commented 7 months ago

I've tried injecting snippets into my paste buffer by using gpaste-client and realized that it seems to overwriter/replace entries?

Example:

# Nothing in the history matching "blargh"
❯ gpaste-client | grep blargh

# Add "blargh"
❯ gpaste-client add blargh

# Ensure "blargh" is now in history
❯ gpaste-client | grep blargh
634f919c-ed0f-42ce-8ec4-5609daf95ced: blargh

# Add "blargh2"
❯ gpaste-client add blargh2

# Would have expected both "blargh" and "blargh2" to show up here
❯ gpaste-client | grep blargh
34c02164-2dec-4eee-a72d-0d1ac3e8540b: blargh2
Keruspe commented 7 months ago

Hello,

This is the "detect growing lines" feature

Keruspe commented 7 months ago

(Can be disabled in settings)

rbjorklin commented 7 months ago

Oh yes of course :man_facepalming:

Thank you!