Looks like the issue is that the TBuffer::TBuffer initialises mWrapAt to 81. It can be fixed by just setting that to a much larger number, but I'm not sure if it was made small for a reason (expecting it to be set dynamically elsewhere, for example).
-- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/1282885 Title: copy() function truncates selection in latest git Status in Mudlet the MUD client: New Bug description: This is on a version of mudlet compiled on 64-bit Arch Linux from a git snapshot 02-20-2014. When trying to copy lines from the main buffer to a MiniConsole using selectCurrentLine() copy() appendBuffer("windowname") lines more than 81 characters long get truncated in the MiniConsole. The truncation happens at word boundaries, as though for line wrapping. The MiniConsole is set to wrap at 55 characters, and does. The main window wraps at 95 characters, also without issue. Using selectString(line,1) instead of selectCurrentLine() shows the same effect. Coloring the line, using fg(), colors the full line, indicating that the issue is not with the selection being truncated. Both appendBuffer() and paste() show truncated output, which suggest that it's copy() doing the truncating; it's also possible that it's a problem affecting both of those functions. I'm unaware of a way to query the contents of the clipboard from within mudlet to check more directly. To manage notifications about this bug go to: https://bugs.launchpad.net/mudlet/+bug/1282885/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mudlet-makers Post to : [email protected] Unsubscribe : https://launchpad.net/~mudlet-makers More help : https://help.launchpad.net/ListHelp

