-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Ability to name tabs from the config file #706
Comments
Thank you for taking the time writing down this issue. For anyone that wants to pick this up: |
Yes, I meant the layout file (sorry for messing up the terminology) |
I can help on this |
That would be awesome! @tw4452852 |
@stratosgear |
Hey guys, since I recently made a PR for tab-bar, my mind is still fresh on this and I have some questions. Will control characters be allowed in the tab name from layout file? And can we prevent that easily? Currently an unescaped \n or \t will completely mess up the spacing count and rendering, but I don't know if we care at all, it's deliberate bad input and it doesn't result in a panic, just a bad result from bad input. And since any kind of characters will be allowed into tab name I guess we should probably change the width count from chars().count() to unicode-width. I can make a PR for that. |
@prscoelho |
After looking around (and consulting in the discord channel) it seems there is no way to name your tabs from the config file (you can only name them manually, from a running instance).
I think there ought to be a way to do that from the config file, too!
The text was updated successfully, but these errors were encountered: