Skip to content

fix windows fullscreen rendering keyboard demo#34

Open
jbolda wants to merge 1 commit into
mainfrom
windows-keyboard-demo-fix
Open

fix windows fullscreen rendering keyboard demo#34
jbolda wants to merge 1 commit into
mainfrom
windows-keyboard-demo-fix

Conversation

@jbolda
Copy link
Copy Markdown

@jbolda jbolda commented May 20, 2026

Motivation

The bottom of our demos were clipped around ~20px.

Approach

Seems to be related to the fullscreen handling on windows? I don't love that you need to know about this "in userland", but this at least appears to resolve the issue. Getting this up that we can opt to refine as we see fit.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 20, 2026

Open in StackBlitz

npm i https://pkg.pr.new/clayterm@34

commit: 573fa05

@cowboyd
Copy link
Copy Markdown
Contributor

cowboyd commented May 20, 2026

Yikes! Is there anywhere we can read up on the differences of fullscreen on windows?

@jbolda
Copy link
Copy Markdown
Author

jbolda commented May 20, 2026

I was reading through this last night, but I haven't seen anything explicitly pointing to the issue, at least that buffered fullscreen write issue specifically.
https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#alternate-screen-buffer

@cowboyd
Copy link
Copy Markdown
Contributor

cowboyd commented May 20, 2026

Hmmm. Nothing leaps out to me about how this might be different than the way other terminal emulators handle it. Maybe we can ask a robot why that fix works.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants