We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d4fe66 commit 4225aaeCopy full SHA for 4225aae
src/lib.rs
@@ -392,8 +392,13 @@ impl Default for ClearScreen {
392
393
// - screen supports CSI 3J only within the XtermClear sequence, without E3 capability.
394
// - Konsole handles CSI 3J correctly only within the XtermClear sequence.
395
+ // - Wezterm handles CSI 3J correctly only within the XtermClear sequence.
396
// - assume tmux TERMs are only used within tmux, and avoid the requirement for a functioning terminfo then
- if term.starts_with("screen") || term.starts_with("konsole") || term.starts_with("tmux") {
397
+ if term.starts_with("screen")
398
+ || term.starts_with("konsole")
399
+ || term == "wezterm"
400
+ || term.starts_with("tmux")
401
+ {
402
return Self::XtermClear;
403
}
404
0 commit comments