Copy entirety of a created buffer
Posted: Wed Dec 14, 2016 11:57 am
Currently, I have my map capture triggers copying the map that the MUD is sending me and then appending it to a window. I'd like to save that map information though, so I've decided to use pasteBuffer() as well to send it to a buffer where I could use it later.
Problem is, I'm not seeing any correct way to copy that information back out of the buffer. This is because there is no copyBuffer() function and copy() only copies the selected portion, meaning you'd have to manually select the entire buffer and then use copy("lastMap") to get it to your clipboard to paste it again.
Is there a better way that I'm maybe missing that would enable you to easily select/copy that entire buffer, or is this possibly prime functionality for me to add into Mudlet?
Problem is, I'm not seeing any correct way to copy that information back out of the buffer. This is because there is no copyBuffer() function and copy() only copies the selected portion, meaning you'd have to manually select the entire buffer and then use copy("lastMap") to get it to your clipboard to paste it again.
Is there a better way that I'm maybe missing that would enable you to easily select/copy that entire buffer, or is this possibly prime functionality for me to add into Mudlet?