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

Support icons (nerd fonts) or special characters in tab title / name #3682

Open
maulik13 opened this issue Oct 15, 2024 · 0 comments
Open

Support icons (nerd fonts) or special characters in tab title / name #3682

maulik13 opened this issue Oct 15, 2024 · 0 comments

Comments

@maulik13
Copy link

maulik13 commented Oct 15, 2024

I am trying to display tab titles dynamically using zsh hooks and using icons from nerd fonts. However, if the title text includes an icon Zellij does not display anything leaving the tab title empty.

Terminal: kitty
Zellij Ver: 0.40.1
OS: Mac M1 (Sonoma 14.5 (23F79))

My configuration is simple,

default_shell "zsh"
copy_on_select true
pane_frames true

ui {
    pane_frames {
        rounded_corners true
    }
}

I am using the classic layout

layout {
    pane size=1 borderless=true {
        plugin location="tab-bar" {
            hide_swap_layout_indication true
        }
    }
    pane
    pane size=2 borderless=true {
        plugin location="status-bar" {
            classic true
        }
    }
}

Icons work fine in terminal in Kitty tab title and my prompt.

Steps to reproduce:

  1. Run zellij. This shows standard Tab #1
  2. Run zellij action rename-tab "hello git  "

This will result in tab name being blank.

@maulik13 maulik13 changed the title Support icons from nerd fonts in tab title / name Support icons (nerd fonts) or special characters in tab title / name Oct 16, 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

1 participant