MCPcopy Create free account
hub / github.com/npkgz/cli-progress / cursorTo

Method cursorTo

lib/terminal.js:50–57  ·  view source on GitHub ↗
(x=null, y=null)

Source from the content-addressed store, hash-verified

48
49 // change cursor positionn
50 cursorTo(x=null, y=null){
51 if (!this.stream.isTTY){
52 return;
53 }
54
55 // move cursor absolute
56 _readline.cursorTo(this.stream, x, y);
57 }
58
59 // change relative cursor position
60 cursorRelative(dx=null, dy=null){

Callers 3

cursorRelativeResetMethod · 0.80
stopMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected