Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npkgz/cli-progress
/ clearBottom
Method
clearBottom
lib/terminal.js:107–113 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
105
106
// clear everyting beyond the current line
107
clearBottom(){
108
if
(!this.stream.isTTY){
109
return
;
110
}
111
112
_readline.clearScreenDown(this.stream);
113
}
114
115
// add new line; increment counter
116
newline(){
Callers
2
remove
Method · 0.80
stop
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected