Page MenuHomePhorge

D25782.1734686869.diff
No OneTemporary

D25782.1734686869.diff

diff --git a/src/progress/PhutilConsoleProgressSink.php b/src/progress/PhutilConsoleProgressSink.php
--- a/src/progress/PhutilConsoleProgressSink.php
+++ b/src/progress/PhutilConsoleProgressSink.php
@@ -5,7 +5,6 @@
private $lastUpdate;
private $isTTY;
- private $width;
private $lineWidth;
protected function publishProgress() {
@@ -82,16 +81,6 @@
return $this->isTTY;
}
- private function getWidth() {
- if ($this->width === null) {
- $width = phutil_console_get_terminal_width();
- $width = min(nonempty($width, 78), 78);
- $this->width = $width;
- }
-
- return $this->width;
- }
-
private function overwriteLine($line) {
$head = "\r";
$tail = '';

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 09:27 (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015339
Default Alt Text
D25782.1734686869.diff (717 B)

Event Timeline