Skip to content

Running diffuse outputs garbled text #247

Open

Description

@JonathanNakhla-Square

When I run the command via diffuse diff 0.apk 1.apk for example I get an output that only shows DEC Special Graphics characters and that sticks on my terminal until I run reset or close and reopen terminal. I just installed diffuse moments ago and I'm running on zsh on an M1 Max Macbook. I've tried reinstalling diffuse and restarting my computer but that hasn't fixed the issue. I've also tried using bash instead of zsh and the issue still persists.

Update: diffuse info 0.apk works no problem though!

Activity

  1. JakeWharton commented on Feb 27, 2024

    @JakeWharton
    Owner

    What terminal emulator are you using?

    I've only really tested on iTerm2, but it should work everywhere.

  2. JonathanNakhla-Square commented on Feb 28, 2024

    @JonathanNakhla-Square
    Author

    Using the default Terminal app (Version 2.14 (453)) on Mac

  3. JakeWharton commented on Mar 11, 2024

    @JakeWharton
    Owner

    It seems to work for me using whatever defaults that app has. Not sure what else to tell you. It's especially weird that one command works but the other does not since they all render using the same codepaths and using the same library to build the unicode table.

    Screenshot 2024-03-11 at 1 38 34 PM

  4. JakeWharton commented on Apr 20, 2026

    @JakeWharton
    Owner

    Compose source information strings are binary-encoded and contain non-printable characters. We should probably escape anything non-printable to avoid triggering terminal escape sequences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions