Skip to content

Echo Ask/Edit questions in the AI pane - #28

Merged
wsams merged 1 commit into
mainfrom
cursor/ask-show-question-e86f
Aug 22, 2026
Merged

wsams merged 1 commit into
mainfrom
cursor/ask-show-question-e86f

Conversation

@wsams

@wsams wsams commented Aug 22, 2026

Copy link
Copy Markdown
Owner

The AI output pane already styled answers well, but after a few turns it was hard to tell which reply belonged to which prompt.

What changed

  • Ask and # edit now print a you block with the line that was typed (including @ / # refs) before progress and the assistant reply.
  • Long pastes fold to the first 8 lines / 600 characters (pane-width line clip when dimensions are known), with a leftover note such as … folded 12 more lines (2401 chars).
  • Palette Show last question reprints the full stored line (unfolded). Secrets stay redacted the same way as the prompt.

Config (ai_pane)

  • question_fold_lines (default 8)
  • question_fold_chars (default 600)
  • question_fold_line_chars (nil → fit the pane width)

Set a limit to 0 to disable that fold check.

Tests

  • New scripts/test_fold.lua (wired into CI)
  • Settings defaults / override coverage for the fold knobs
Open in Web Open in Cursor 

Show the typed question under a you label before the assistant reply so
the output log is readable later. Long pastes fold to a short preview
with a leftover-line note; Show last question reprints the full text.

Co-authored-by: Weldon Sams <wsams@users.noreply.github.com>
@wsams
wsams marked this pull request as ready for review August 22, 2026 05:24
@wsams
wsams merged commit d5c1e93 into main Aug 22, 2026
1 check passed
@wsams
wsams deleted the cursor/ask-show-question-e86f branch August 22, 2026 05:31
github-actions Bot added a commit that referenced this pull request Aug 22, 2026
# [1.17.0](v1.16.0...v1.17.0) (2026-08-22)

### Features

* **ui:** echo Ask/Edit questions in the AI pane ([#28](#28)) ([d5c1e93](d5c1e93))
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.17.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants