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

Fix status bar not displaying w/ size=1 and show shortcuts #2091

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

panki27
Copy link
Contributor

@panki27 panki27 commented Jan 13, 2023

Closes #2077
This changes behaviour if status-bar is used with size=1.

The issue of the status bar not showing with size=1 arises from using println! when reaching the last line.
In this case, print! will be used instead.

This will also show the "second layer" of hints when not in normal mode, changing the first line.

Be careful reviewing, it's my first Rust PR 🚀

@panki27 panki27 temporarily deployed to cachix January 27, 2023 12:05 — with GitHub Actions Inactive
@imsnif
Copy link
Member

imsnif commented Jan 27, 2023

Looks great. Thank you for your patience in having this reviewed, and congrats on your first Rust PR!

@imsnif imsnif merged commit a369e70 into zellij-org:main Jan 27, 2023
joshheyse pushed a commit to joshheyse/zellij that referenced this pull request Mar 11, 2023
…org#2091)

* Fix status bar not displaying if size=1. Show shortcuts if not in normal mode when size=1

* formatting

Co-authored-by: Felix Pankratz <[email protected]>
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.

status-bar broken with size=1
2 participants