Skip to content

Commit 0a252c2

Browse files
authored
lib: fix type error for _refreshLine
PR-URL: #52133 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4fe8735 commit 0a252c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/readline/interface.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ class Interface extends InterfaceConstructor {
685685
this.cursor,
686686
this.line.length);
687687
this.cursor = this.cursor - completeOn.length + prefix.length;
688-
this._refreshLine();
688+
this[kRefreshLine]();
689689
return;
690690
}
691691

0 commit comments

Comments
 (0)