Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Tui] Various fixes and hardenings#64297

Merged
nicolas-grekas merged 1 commit into
symfony:8.1symfony/symfony:8.1from
nicolas-grekas:81-fixes-tuinicolas-grekas/symfony:81-fixes-tuiCopy head branch name to clipboard
May 19, 2026
Merged

[Tui] Various fixes and hardenings#64297
nicolas-grekas merged 1 commit into
symfony:8.1symfony/symfony:8.1from
nicolas-grekas:81-fixes-tuinicolas-grekas/symfony:81-fixes-tuiCopy head branch name to clipboard

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Member

Q A
Branch? 8.1
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Round of hardenings on the experimental Tui component:

  • Bound input buffers (paste, pending control sequences, undo, FIGlet ZIP); paste overflow now surfaces a visible marker rather than a silent drop. Paste cap aligned to 16 MiB to match FileInputHelper.
  • Strip control bytes in LoaderWidget messages and UTF-8 C1 in VirtualTerminal::setTitle() to close OSC-injection vectors.
  • Fix BracketedPasteTrait to preserve bytes that preceded the paste start marker instead of folding them into the paste buffer.
  • FocusManager::clear() now also clears the focused widget reference; TickEvent is always dispatched so listeners can hint busy state without an onTick callback.
  • LoaderWidget no longer auto-starts in the constructor; call start() explicitly.
  • ProgressBarWidget::tick() advances the bar offset in indeterminate mode.
  • Document the raw-passthrough contract on TextWidget, SelectListWidget, SettingItem, and InputWidget::setPrompt().

@nicolas-grekas nicolas-grekas merged commit 38b64ef into symfony:8.1 May 19, 2026
7 of 12 checks passed
@nicolas-grekas nicolas-grekas deleted the 81-fixes-tui branch May 19, 2026 19:54
@fabpot fabpot mentioned this pull request May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.