diff --git a/lib/internal/readline/interface.js b/lib/internal/readline/interface.js index f8120ca47b2829..e26fa6561e8679 100644 --- a/lib/internal/readline/interface.js +++ b/lib/internal/readline/interface.js @@ -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; }