cmderdev / cmder

Lovely console emulator package for Windows
https://cmder.app
MIT License
25.69k stars 2.02k forks source link

[Bug] Wired caraters on the output when using `eza` command on cmder only #2951

Closed DrissBoumlik closed 1 week ago

DrissBoumlik commented 1 week ago

Version Information

Cmder version: 1.6.16.c5eaf9
Operating system: windows

image

Cmder Edition

Cmder Full (with Git)

Description of the issue

I installed eza which is a nice alternative for ls,

image

image

How to reproduce

Install eza and type eza --tree --level=2

Additional context

No response

Checklist

chrisant996 commented 1 week ago

Cmder version: 1.6.16.c5eaf9

That's the Clink version, not the Cmder version.

But Clink isn't related to this issue.

The ConEmu version could be related to this issue, though.

DrissBoumlik commented 1 week ago

@chrisant996 here is the cmder version

image

chrisant996 commented 1 week ago

It looks as though "ANSI X.364 / xterm 256 colors" might be turned off. See ConEmu documentation for info about that setting.

The characters you're seeing are ANSI escape codes. Normally ConEmu handles them and changes colors and etc.

If that setting is on (checked) in the Features page, then I don't know why the escape codes are not being handled. You'll need to do some troubleshooting in ConEmu.

I was only responding to say this isn't related to Clink (since the Clink version was cited).

DrissBoumlik commented 1 week ago

So appearently, Inject ConEmuHk was off, I set it to on and it worked (Thanks to your answer @chrisant996 🙏)

image

image