Skip to content

Commit

Permalink
lib: fix type error for _refreshLine
Browse files Browse the repository at this point in the history
PR-URL: #52133
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
JacksonTian authored and marco-ippolito committed May 3, 2024
1 parent 5bce596 commit e5521b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/readline/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ class Interface extends InterfaceConstructor {
this.cursor,
this.line.length);
this.cursor = this.cursor - completeOn.length + prefix.length;
this._refreshLine();
this[kRefreshLine]();
return;
}

Expand Down

0 comments on commit e5521b5

Please sign in to comment.