Comments (15)
The fix has been released with version 1.36.1 @CarterLi @zeenix @Gelio
from broot.
You are right, this problem does not occur on 1.32.0
Kapture.2024-03-10.at.12.00.19.mp4
For reference, I am using kitty 0.32.2
from broot.
I understand you wanted me to run cargo run --example kitty
from that repo.
Here is the output in kitty in tmux:
Here is the output in kitty outside of tmux:
The extra codes in my prompt were inserted automatically. The screenshots contain the state right after the command finished
from broot.
I checked out that commit and it looks like the problem is fixed for me on kitty
Nice! Thanks so much for testing.
Interestingly, the macOS Terminal app still has the extra characters:
That's just the Terminal app being silly AFAICT. If you revert the commit to before my recent changes (git checkout abfb5aae9e7539cb9cd3c8b3fcc98a7dfa5e6276
) and run the example, you'll still see those. I'd just say do what everyone does on Mac: stick to iTerm2. :)
@Gelio just out of curiosity, was broot working fine on Mac before recently?
I switched to Mac recently and I can't tell, as I haven't used broot a lot recently :/ sorry
No worries. I can verify that at least kitty worked fine before my recent changes. My own app (gimoji
) didn't work correctly though when launched from a git hook. In any case, I think we've now a fix for all that is fixable. :)
from broot.
Same issue for iTerm in macOS
from broot.
I just upgraded and the problem no longer exists for me on Kitty (both in and outside of tmux)
Thanks @Canop and @zeenix for delivering a quick fix 🚀
from broot.
This is related to the test of terminal colors.
Assuming you're using version 1.36 of broot, can you please see if it happens for you with version 1.32 ?
from broot.
@Gelio I don't know if you're able to compile things for rust.
If so, I would appreciate if you could test the example of https://github.com/Canop/xterm-query/ which is executed with cargo run --example kitty
from broot.
What's your terminal and OS exactly ?
from broot.
Strange. Ironically my commit in xterm-query introducing this issue is exactly the solution to the symptoms here (at least on Linux) that I reported in Canop/terminal-light#4.
from broot.
What's your terminal and OS exactly ?
Terminal: kitty 0.32.2
OS: macOS Sonoma 14.2.1
from broot.
Here is the output from macOS default terminal app:
from broot.
@Gelio Thanks for providing the example run. I was about to reproduce this issue. I think Canop/xterm-query#4 fixes this since I'm not able to reproduce the issue when using the branch of that PR.
from broot.
@Gelio just out of curiosity, was broot working fine on Mac before recently?
from broot.
@Gelio Thanks for providing the example run. I was about to reproduce this issue. I think Canop/xterm-query#4 fixes this since I'm not able to reproduce the issue when using the branch of that PR.
I checked out that commit and it looks like the problem is fixed for me on kitty
Kitty in tmux:
Kitty outside of tmux (says image protocol is supported, as expected):
Interestingly, the macOS Terminal app still has the extra characters:
@Gelio just out of curiosity, was broot working fine on Mac before recently?
I switched to Mac recently and I can't tell, as I haven't used broot a lot recently :/ sorry
from broot.
Related Issues (20)
- ArchLinux's AUR fails to build broot HOT 4
- Add features for Trash management HOT 1
- Request: Verb: Toggle descending/following all symlinks HOT 4
- Allow configuring how double click opens files HOT 2
- How do I move around locations? HOT 2
- Slow at /proc HOT 4
- Color scheme produces unexpected output since 1.33.0
- Does not compile on Termux (Android) any more HOT 2
- Wrong light colorscheme in zellij HOT 7
- broot fail to recognize `suid` and `sgid` bits when showing permission HOT 2
- Option to always open editor relative to directory where i start `broot` HOT 6
- Arrow between path and git branch misaligned HOT 2
- Could not edit file in Kakoune by specifying client and server HOT 3
- showing long pathnames on multiple lines
- Is there a way to prevent right arrow from opening file in external editor? HOT 1
- Run shell commands like tar and zip directly through broot terminal UI.
- Multiple arguments to custom verbs. HOT 6
- Put selected path into shell input HOT 3
- Backspace key not working when running in xterm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broot.