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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
JacksonTian authored Mar 21, 2024
1 parent 4fe8735 commit 0a252c2
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 0a252c2

Please sign in to comment.