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

[Question] why tmux prompt at the bottom? #308

Closed
Semnodime opened this issue Jun 6, 2024 · 2 comments
Closed

[Question] why tmux prompt at the bottom? #308

Semnodime opened this issue Jun 6, 2024 · 2 comments

Comments

@Semnodime
Copy link

Semnodime commented Jun 6, 2024

[EDIT] This is an inadvertend duplicate of #246

…it is also related to


This "bug" (or rather lack of feature-inhibitor)

  • affects all people who switch to using tmux after installing zsh and (like me) forget that it's the
  • -> zsh4humans installer (and not the p10k wizard) asking for tmux habits.
  • is solved by RTFM / Add zstyle ':z4h:' prompt-at-bottom 'no' to the .zshrc

Original Question

Is it expected behavior that the prompt inside tmux resides at the bottom?
demo
If yes, can this be configured somhow?

@romkatv
Copy link
Owner

romkatv commented Jun 6, 2024

Is it expected behavior that the prompt inside tmux resides at the bottom?

Yes.

If yes, can this be configured somhow?

Yes.

https://github.com/romkatv/zsh4humans/blob/master/tips.md#prompt-at-bottom

@Semnodime
Copy link
Author

Semnodime commented Jun 6, 2024

Further searching through github issues, and related projects, I was able to comprehend your motivation for choosing the default setting to have the prompt reside at the bottom as per your explanation in romkatv/powerlevel10k-media#2 (comment)

[A] non-constant prompt position means you cannot set up your terminal window in such a way that it's always convenient to look at the most important information in it -- the prompt and the output of the last command.
This issue has been bothering me enough that I've configured my own shell to always have prompt at the bottom.

So it's actually rather a feature than a bug.

Since you noticed it being unconventional and potentially overwhelming, you even decided to deactive this behavior

if you choose to enable tmux in the installer.

…which I didn't.

@Semnodime Semnodime changed the title [Question/Bug] tmux prompt at the bottom [Question] why tmux prompt at the bottom? Jun 6, 2024
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

No branches or pull requests

2 participants