fix(terminal): wrap lines when adding characters in alternate screen (#2789)
This commit is contained in:
parent
697723ddd3
commit
5fdfe4507f
1 changed files with 1 additions and 1 deletions
|
|
@ -1331,7 +1331,7 @@ impl Grid {
|
|||
if character_width == 0 {
|
||||
return;
|
||||
}
|
||||
if self.cursor.x + character_width > self.width && self.alternate_screen_state.is_none() {
|
||||
if self.cursor.x + character_width > self.width {
|
||||
if self.disable_linewrap {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue