If buffer is empty, do not set line ending
This commit is contained in:
parent
6514323fbe
commit
c5deb38cfe
1 changed files with 1 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ impl Buffer {
|
|||
if self.lines.is_empty() {
|
||||
self.lines.push(BufferLine::new(
|
||||
"",
|
||||
LineEnding::default(),
|
||||
LineEnding::None,
|
||||
AttrsList::new(attrs),
|
||||
shaping,
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue