Page MenuHomePhorge

D25782.1726830001.diff
No OneTemporary

D25782.1726830001.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, Sep 20, 11:00 (10 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
893176
Default Alt Text
D25782.1726830001.diff (717 B)

Event Timeline