diff --git a/.changeset/cool-forks-flash.md b/.changeset/cool-forks-flash.md new file mode 100644 index 00000000..1b1a6176 --- /dev/null +++ b/.changeset/cool-forks-flash.md @@ -0,0 +1,5 @@ +--- +"@clack/core": patch +--- + +Update the core README.md to reflect the internal member name change when rendering a TextPrompt (`userInputWithCursor`). diff --git a/packages/core/README.md b/packages/core/README.md index 58a7e1ff..014f1ca2 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -11,7 +11,7 @@ import { TextPrompt, isCancel } from '@clack/core'; const p = new TextPrompt({ render() { - return `What's your name?\n${this.valueWithCursor}`; + return `What's your name?\n${this.userInputWithCursor}`; }, });