New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal colors do not persist after switching from tiling to floating in an editor #3064
Comments
Can you reproduce this issue in a different terminal emulator? It sounds like your editor might just be resetting the terminal colors, though I'm not 100% sure I understand the exact steps you're taking. |
Does not happen in Konsole |
If the change in tiling mode and nano required? I think simplifying the repro for this would likely be very helpful. It seems strange to me that resizing would have anything to do with it. |
Also it might be worth it to test with just |
That works too, edited the repro |
Looks like an issue with nano, if you run So it seems like nano is just telling Alacritty to reset its colors and Alacritty obviously complies. So this would have to be fixed in nano I'd assume. |
I wonder if you can repro with |
I was able to reproduce with Testing Konsole is tough because it's so massive, but the behavior was consistent between Termite, Alacritty and URxvt. I'd assume that's the same for Konsole. |
@chrisduerr Yeah, it's enough,I guess. Just OP mentioned Konsole, so I mentioned it. |
Would it be possible for you guys to add something in config like script/command to run after resize? |
@Cubxity we've generally avoided too much user scripting so far, however I can see the desire for some hooks to added. For example #1528 is talking about a possible This specific issue does seem better fixed by |
We will never support running scripts on resize, that just doesn't sound like a great idea at all. But yeah, generally I'd say if you're really frequently running into this, you probably might want to look into some nicer terminal editors anyways. If it's just about the occasional accidental nano opening, a good idea would be to just alias nano to run under a different terminfo, that should solve the issue and is basically what other terminal emulators do. |
Terminal colors do not persist after switching from tiling to floating in an editor.
System
OS: Arch Linux
Version: alacritty 0.4.0
Linux/BSD: X11, i3-gaps, compositor: picom
Steps to reproduce:
printf "\e]4;1;rgb:ff/00/ff"
The text was updated successfully, but these errors were encountered: