[Bug] AskUserQuestion Preview incorrectly hides content with insufficient space detection

Resolved 💬 2 comments Opened Mar 27, 2026 by SpiritGlide Closed Mar 27, 2026

Bug Description
The AskUserQuestion Preview feature hides most of the lines in the preview after the first one behind the label N lines hidden, despite the fact that I have plenty of vertical space to display on the screen.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.85
  • Feedback ID: ac77e273-146e-46fd-b200-94093ff93ff0

Errors

[{"error":"MaxFileReadTokenExceededError: File content (16437 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at G57 (/$bunfs/root/src/entrypoints/cli.js:4535:23271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T05:48:53.898Z"},{"error":"MaxFileReadTokenExceededError: File content (16437 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at G57 (/$bunfs/root/src/entrypoints/cli.js:4535:23271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T05:48:56.467Z"},{"error":"MaxFileReadTokenExceededError: File content (16437 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at G57 (/$bunfs/root/src/entrypoints/cli.js:4535:23271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T05:48:58.733Z"},{"error":"MaxFileReadTokenExceededError: File content (16437 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at G57 (/$bunfs/root/src/entrypoints/cli.js:4535:23271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T05:49:03.882Z"},{"error":"MaxFileReadTokenExceededError: File content (16437 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at G57 (/$bunfs/root/src/entrypoints/cli.js:4535:23271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T05:49:06.605Z"},{"error":"MaxFileReadTokenExceededError: File content (16437 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at G57 (/$bunfs/root/src/entrypoints/cli.js:4535:23271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T05:50:21.192Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗