devottys / darkdraw

unicode art and animation in the terminal
Other
67 stars 4 forks source link

expand base frame feature to include characters from clipboard #14

Open dwimmertxt opened 1 year ago

dwimmertxt commented 1 year ago

Currently the base frame feature, toggled via Options -> ddw_add_baseframe, sets characters placed via the add command 'a' to appear on all frames. However this feature does not extend to characters placed from the clipboard. For example, if I copy a character, with copy command 'y', from frame 2 to the clipboard and then paste it to frame 1, with paste command 'p', - the newly placed character has a frame field value of 1. This is also the case with characters pasted from the clipboard with the palette hotkeys: cycle with 'v', place with '1', '2', '3', etc.

I have tested this with characters copied from various frames on the drawing as well as with characters copied from the unicode browser. The behaviour is described as above.

saulpw commented 1 year ago

Thanks for the report, @dwimmertxt ! Try it with this fix.