← Back to team overview

mudlet-makers team mailing list archive

[Bug 1282885] Re: copy() function truncates selection in latest git

 

Migrating issues to Github, please follow the new discussion here:
https://github.com/Mudlet/Mudlet/issues/760

This issue needs to be closed and there is no appropriate status, so
will set it to "Opinion" just for migration purposes.

** Bug watch added: github.com/Mudlet/Mudlet/issues #760
   https://github.com/Mudlet/Mudlet/issues/760

** Changed in: mudlet
       Status: New => Opinion

-- 
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:
  Opinion

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


References