← Back to team overview

mudlet-makers team mailing list archive

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

 

Public bug reported:

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.

** Affects: mudlet
     Importance: Undecided
         Status: New

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


Follow ups

References