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

Could status bar be shown when tab bar is hidden? #2082

Closed
mostafaqanbaryan opened this issue Jun 6, 2022 · 3 comments
Closed

Could status bar be shown when tab bar is hidden? #2082

mostafaqanbaryan opened this issue Jun 6, 2022 · 3 comments
Labels
enhancement New feature or request fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds.

Comments

@mostafaqanbaryan
Copy link

mostafaqanbaryan commented Jun 6, 2022

Is your feature request related to a problem? Please describe.
I use Vim in fullscreen mode and don't need any tab (I use panes and splits which works great)
So because of that, I added hide_tab_bar_if_only_one_tab = true in my config that hides tab bar and gives me that extra space.
But now, if I want to use status bar and update-right-status hook, there is no status bar.

Describe the solution you'd like
I don't need tab bar and want to use that space in my Vim.
So I think it would be great to fix status bar on screen (without occupying 1-2 lines at the top, just a floating status bar at top-right)
Or maybe something like that parallax background at another (maybe below) layer!

Additional context
Without tab bar:
Screenshot from 2022-06-06 18-40-28
With tab bar:
Screenshot from 2022-06-06 18-40-19
2 lines removed.

@mostafaqanbaryan mostafaqanbaryan added the enhancement New feature or request label Jun 6, 2022
@toothlesslizard
Copy link

@wez something like this

term

wez added a commit that referenced this issue Nov 19, 2022
@wez
Copy link
Owner

wez commented Nov 19, 2022

I just pushed a commit to main that allows:

local wezterm = require 'wezterm'

wezterm.on('update-right-status', function(window, pane)
  window:set_left_status("left")
  window:set_right_status("right")
end)

return {
  use_fancy_tab_bar = false,
  show_tabs_in_tab_bar = false,
  show_new_tab_button_in_tab_bar = false,
}

Screenshot 2022-11-19 at 13 46 38

image

It typically takes about an hour before commits are available as nightly builds for all platforms. Linux builds are the fastest to build and are often available within about 20 minutes. Windows and macOS builds take a bit longer.

Please take a few moments to try out the fix and let me know how that works out. You can find the nightly downloads for your system in the wezterm installation docs.

If you prefer to use packages provided by your distribution or package manager of choice and don't want to replace that with a nightly download, keep in mind that you can download portable packages (eg: a .dmg file on macOS, a .zip file on Windows and an .AppImage file on Linux) that can be run without permanently installing or replacing an existing package, and can then simply be deleted once you no longer need them.

If you are eager and can build from source then you may be able to try this out more quickly.

@wez wez added the fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds. label Nov 19, 2022
@wez wez closed this as completed Nov 20, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds.
Projects
None yet
Development

No branches or pull requests

3 participants