disable * padding for now.
This commit is contained in:
parent
64072411bb
commit
45b180174f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue