Skip to content

Incorrect parsing of unicode escape codes #3747

@GR3YH4TT3R93

Description

@GR3YH4TT3R93

Describe the bug
In the latest release (v0.43.1), some icons (e.g. nuxt.config.ts which uses the escape sequence \uf1106, and tailwind.config.ts which uses the escape sequence \uf13ff) are showing the incorrect icons (e.g. for nuxt.config.ts \uf110+6 shown as icon6 instead of \f1106 and for tailwind.config.ts \uf13f+f shown as iconf instead of \uf13ff).

To Reproduce
Steps to reproduce the behavior:

  1. git init
  2. touch nuxt.config.ts tailwind.config.ts
  3. lazygit
  4. See error

Expected behavior
Expected to see the proper icons

Version info:
commit=v0.43.1, build date=2024-07-13T12:12:22Z, build source=termux, version=0.43.1, os=android, arch=arm64, git version=2.45.2
git version 2.45.2

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