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

Never display a tab bar. #1014

Closed
AmokHuginnsson opened this issue Sep 23, 2018 · 6 comments
Closed

Never display a tab bar. #1014

AmokHuginnsson opened this issue Sep 23, 2018 · 6 comments

Comments

@AmokHuginnsson
Copy link

Hello.

kitty is a very nice terminal emulator, that being said,
I would like to request a new feature for it.

I would like to get an ability to tell kitty to never display a tab bar.
Maybe new setting for tab_bar_style, something like

tab_bar_style = none

or

tab_bar_style = hidden

What do you think?

@maximbaz
Copy link
Contributor

So you are actually using tabs, but you don't want to see that you have multiple tabs?

@AmokHuginnsson
Copy link
Author

Yes. Exactly. I want maximal terminal estate. I remember which tabs are open and what is their content.

@nogerine
Copy link

You can:

  1. Open kitty/tab_bar.py
  2. Add return at line 135
def layout(self):
    return
    central, tab_bar, vw, vh, cell_width, cell_height = viewport_for_window(self.os_window_id)
    ...

@AmokHuginnsson
Copy link
Author

AmokHuginnsson commented Oct 24, 2018

@aIRisius I want to do it through configuration. Not to patch the code on every machine I use.

But thank you. I can use this information to prepare patch post it here.

@erf
Copy link

erf commented Oct 24, 2018

You can set the following in kitty.conf:

tab_bar_style              separator                                                          
tab_separator              " "

and then set the bash terminal title empty like this:

PROMPT_COMMAND='echo -ne "\033]0; \007"'

and your tabs won't show

@AmokHuginnsson
Copy link
Author

@erf That would wast one line of available space which is precisely what I want to avoid.

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

4 participants