-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Erase sequences should not be affected by current coloring #51
Comments
Thanks, will look into this! When I test default (1) the OS X Terminal.app, (2) iTerm and (3) xterm they all seem to do the same thing as Termux here. This seems to come from these terminals supporting the Which terminal emulators have you tested with that does not use the the current fg and bg colors when clearing? |
I don't have access to a real computer at this moment, will check a bit later. |
@xiaq Have you been able to check the issue? I think for |
Hmm, I checked and it seems that every emulator but tmux fills the background color. My mistake. |
This will color the whole termux terminal red:
echo -e '\033[41m\033[J'
. No other terminal emulators that I know of exhibit this behavior.This is because termux fill the affected area with the current foreground and background coloring when it receives the erase area sequence
\033[J
.The erase line sequence,
\033[K
, is also affected.The text was updated successfully, but these errors were encountered: