+
Skip to content

[BUG] #91 has removed layout flexibility making previous layout impossible #97

Open
@jpcirrus

Description

@jpcirrus

Describe the bug
#91 added spaces between every layout item, which broke the previous flexibility of being able to configure where you wanted spaces, which could have been configured in the layout, in the styles, in the symbols, or nowhere.

To Reproduce

For example, you want ... to separate the local and remote branch names with no spaces between, but you obviously only want the ... when there is also a remote branch. This used to be able to be configured by prefixing the remote style with .... But since #91, this still works with no remote branch, but when there is a remote branch a space is appended to the local branch name and before the ....

Expected behavior
With local and remote branches they are concatenated with ... between. With only a local branch the ... should not be appended to the local branch name. No spaces should be added in either case.

Screenshots
Before:
20230406T165205-Alacritty@2x

Now:
20230406T165316-Alacritty@2x

Environment:

  • gitmux version: 0.10.2
  • tmux version: tmux 3.3a
  • OS: macOS 12.6.3
  • shell: bash 5.2.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载