Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reversed double-line prompt #551

Open
dpc opened this issue Dec 20, 2024 · 0 comments
Open

Reversed double-line prompt #551

dpc opened this issue Dec 20, 2024 · 0 comments
Labels
🌊 enhancement New feature or request

Comments

@dpc
Copy link

dpc commented Dec 20, 2024

Is your feature request related to a problem? Please describe

In theory I'd really like to use double line transient prompts like e.g.:

  ~/nix g master ⇡1       dpc@mutex 08:32:59
❯

but in practice the fact that the top line "disappears" generates sort of annoying "flicker" that is a bit disorienting, as the whole command kind of moves up one line. I don't know - maybe I'm the only one annoyed by it.

Describe the solution you'd like

I was wondering though how practical would be to reverse the two?

❯
  ~/nix g master ⇡1       dpc@mutex 08:32:59

This way, when I press enter the command itself does not move. Only the last line gets cleared, and output starts appearing in it's place.

Did anyone ever tried that? Would it work? I'm not sure if there are some fish prompt handling details that would make it technically impossible to achieve.

@dpc dpc added the 🌊 enhancement New feature or request label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌊 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant