diff --git a/lib/tput.js b/lib/tput.js index 9b07fb9..cb9fedc 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -1204,9 +1204,11 @@ Tput.prototype._print = function(code, print, done) { // advisory if the device has the xon capability; it is used for cost // computation but does not trigger delays. if (~suffix.indexOf('*')) { - if (affect = /\x1b\[(\d+)[LM]/.exec(part)) { - amount *= +affect[1]; - } + // XXX Disable this for now. + amount = amount; + // if (affect = /\x1b\[(\d+)[LM]/.exec(part)) { + // amount *= +affect[1]; + // } // The above is a huge workaround. In reality, we need to compile // `_print` into the string functions and check the cap name and // params.