mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-26 08:56:36 +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
82d30822d5
commit
0cc52708df
@ -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