From 4e753183e68898e61bf429d3833326874dccc724 Mon Sep 17 00:00:00 2001 From: Utsav Bhandari Date: Tue, 10 Feb 2026 23:18:58 -0600 Subject: [PATCH 1/3] Fix member name in TextPrompt rendering This getter was renamed in 7bc3301cdf2231bda0035a89d00ba151044896c2 --- packages/core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`; }, }); From 55f92b17178c2a872bd830d9e904255af478570e Mon Sep 17 00:00:00 2001 From: utsav-bhandari <145168913+utsav-bhandari@users.noreply.github.com> Date: Wed, 11 Feb 2026 16:27:12 -0600 Subject: [PATCH 2/3] Added changelog entry --- .changeset/cool-forks-flash.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cool-forks-flash.md diff --git a/.changeset/cool-forks-flash.md b/.changeset/cool-forks-flash.md new file mode 100644 index 00000000..1fb9d79b --- /dev/null +++ b/.changeset/cool-forks-flash.md @@ -0,0 +1,5 @@ +--- +"@clack/core": patch +--- + +This change updates the @clack/core README.md to reflect the internal member name change when rendering a TextPrompt in @clack/core. The getter was renamed in a previous commit, so this is a small fix and does not introduce any API changes or breaking behavior. From f406719c9f2311332197af711ee30da960c520ec Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:00:23 +0000 Subject: [PATCH 3/3] Update cool-forks-flash.md This will show up in a bullet point list so needs to be more concise. --- .changeset/cool-forks-flash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/cool-forks-flash.md b/.changeset/cool-forks-flash.md index 1fb9d79b..1b1a6176 100644 --- a/.changeset/cool-forks-flash.md +++ b/.changeset/cool-forks-flash.md @@ -2,4 +2,4 @@ "@clack/core": patch --- -This change updates the @clack/core README.md to reflect the internal member name change when rendering a TextPrompt in @clack/core. The getter was renamed in a previous commit, so this is a small fix and does not introduce any API changes or breaking behavior. +Update the core README.md to reflect the internal member name change when rendering a TextPrompt (`userInputWithCursor`).