mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-23 04:46:37 +00:00
js/matrix.js: disable irresponsibly obnoxious automatic cutoff `feature.'
js/clipboard.js: increase default cutoff warning threshold to 425.
This commit is contained in:
parent
0f8b211517
commit
2da7965c99
@ -184,10 +184,10 @@ var clipboard = (function () {
|
||||
output = canvas.ascii()
|
||||
break
|
||||
case 'mirc':
|
||||
output = canvas.mirc({cutoff: 400})
|
||||
output = canvas.mirc({cutoff: 425})
|
||||
break
|
||||
case 'irssi':
|
||||
output = canvas.irssi({cutoff: 400})
|
||||
output = canvas.irssi({cutoff: 425})
|
||||
break
|
||||
case 'ansi':
|
||||
output = canvas.ansi()
|
||||
|
@ -283,7 +283,6 @@ Matrix.prototype.mirc = function (opts) {
|
||||
})
|
||||
if (opts && opts.cutoff && line.length > opts.cutoff) {
|
||||
cutoff = true
|
||||
return line.substr(0, opts.cutoff)
|
||||
}
|
||||
return line
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user