-
Notifications
You must be signed in to change notification settings - Fork 251
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
pty fallback term #511
pty fallback term #511
Conversation
luis-pereira
commented
Jun 16, 2023
- Prefer ranged for over while
- Add a TERM fallback to the pseudoterminal (PTY)
Simpler and more readable.
The pseudoterminal should always run with the TERM environment variable set. xterm-256color is a sensible fallback.
Looks like this fixed #447 ? |
Yes, it fixes it as "secondary" effect. |
qterminal sets TERM via qputenv. Other applications may do something similar. Looks like this approach overwrites existing environment variables? |
@yan12125 Is there any downside to lxqt/qterminal#1058 ? |
@yan12125 |
For qterminal, I don't think so. There might still be an issue for other applications that embed qterm widget. Could you add some sentences to https://github.com/lxqt/qtermwidget/blob/master/CHANGELOG to clarify that? By the way, lxqt/qterminal#406 may be fixed as a side effect.
I prefer |
Ok. Will do that.
Good. I wasn't even aware of lxqt/qterminal#406.
Agrreed. |
If an application sets |
Note about the TERM variable.
Thanks! I use rebase instead of squash as the first commit is a different improvement. |