Skip to content

Commit

Permalink
fix(terminal): wrap lines when adding characters in alternate screen (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
imsnif authored Sep 15, 2023
1 parent 697723d commit 5fdfe45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zellij-server/src/panes/grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5fdfe45

Please sign in to comment.