Skip to content

feat: add fullscreen toggle to terminal demo#562

Merged
brendanjryan merged 2 commits intomainfrom
juan/terminal-fullscreen
Apr 14, 2026
Merged

feat: add fullscreen toggle to terminal demo#562
brendanjryan merged 2 commits intomainfrom
juan/terminal-fullscreen

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented Apr 14, 2026

Adds a fullscreen button to the terminal demo title bar (next to the existing restart button). Clicking it expands the terminal to fill the viewport; clicking again or pressing Escape exits.

Changes:

  • New isFullscreen state in TerminalComponent
  • Fullscreen button with expand/collapse SVG icons in the title bar
  • Fixed positioning + body scroll lock when fullscreen
  • Rounded corners and border removed in fullscreen mode
  • Escape key exits fullscreen

Prompted by: juan

Co-authored-by: juan leal <114959779+juandolealt@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d8d45-a691-74ac-8016-fa5b58826503
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Apr 14, 2026 6:57pm

Request Review

Co-authored-by: juan leal <114959779+juandolealt@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d8d45-a691-74ac-8016-fa5b58826503
@brendanjryan brendanjryan merged commit 4ab406e into main Apr 14, 2026
6 of 7 checks passed
@brendanjryan brendanjryan deleted the juan/terminal-fullscreen branch April 14, 2026 18:55
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