vere icon indicating copy to clipboard operation
vere copied to clipboard

term: whitespace during boot in tall windows

Open tacryt-socryp opened this issue 2 years ago • 1 comments

Hi, I built latest master using Basel on aarch64 macOS Ventura. I booted an Urbit as follows: urbit -F zod --bootstrap-url https://bootstrap.urbit.org/urbit-v1.17.pill. It boots successfully, but as you can see, the prompt prints out strangely upon booting. This may be a sign of some issue with the terminal output? @Fang-

Screenshot 2023-01-26 at 1 59 00 PM

tacryt-socryp avatar Jan 26 '23 20:01 tacryt-socryp

This is actually intended behavior behavior. The terminal IO driver is now aware of the vertical dimensions of the screen it's running in. This lets it (both runtime, dill and drum) add outputs to "the bottom of the screen" instead of "the end of the most recent output".

The first handful of prints happen before IO driver initialization, and so get printed starting at wherever the cursor happened to be when you started the process. In a fresh (or freshly ctrl-l'd) window of sufficient height, this will cause the gap you're seeing. But no information is getting lost here. (#168 notwithstanding.)

Maybe we want to "pre-initialize" the term IO driver earlier, so that the early prints also appear at the bottom of the screen for consistency, but unsure how early we can reasonably make that happen.

Fang- avatar Jan 27 '23 13:01 Fang-