Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2683679
D25782.1734686869.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
717 B
Referenced Files
None
Subscribers
None
D25782.1734686869.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25782: Remove unused PhutilConsoleProgressSink::getWidth()
Attached
Detach File
Event Timeline
Log In to Comment