mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
Fix #6142
This commit is contained in:
@@ -28,6 +28,7 @@ func convert_text(text string, cols int) string {
|
|||||||
for s1.Scan() {
|
for s1.Scan() {
|
||||||
full_line := s1.Text()
|
full_line := s1.Text()
|
||||||
if full_line == "" {
|
if full_line == "" {
|
||||||
|
lines = append(lines, empty_line)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if strings.TrimRight(full_line, "\r") == "" {
|
if strings.TrimRight(full_line, "\r") == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user