Skip to content

Issue with Rendering of Two-Line Prompt Themes #5677

Discussion options

You must be logged in to vote

The only time i've seen something like this in nushell is when nushell starts too fast. As I recall, what happens is nushell starts and gets the terminal width, let's say 80x24, in the meantime, your terminal finishes starting and now the terminal width is 100x24, but nushell already knows the size as 80x24, so when you type any character, it realizes it's bigger and redraws the prompt. At least that's my theory. We could introduce some artificial delay in the nushell startup, but I hate to intentionally slow things down.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@JanDeDobbeleer
Comment options

@SetsuikiHyoryu
Comment options

@SetsuikiHyoryu
Comment options

Comment options

You must be logged in to vote
3 replies
@JanDeDobbeleer
Comment options

@SetsuikiHyoryu
Comment options

@SetsuikiHyoryu
Comment options

Answer selected by SetsuikiHyoryu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #5668 on September 26, 2024 04:47.