Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gurrium committed Apr 1, 2023
1 parent 3eae458 commit 8bc71cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/SwiftKilo/SwiftKilo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ public class SwiftKilo {
}

private func drawRows() {
(0..<editorConfig.screenRows).forEach { _ in
fileHandle.print("~\r\n")
}
fileHandle.print(Array(repeating: "~", count: editorConfig.screenRows).joined(separator: "\r\n"))
}

private func getWindowSize() -> (height: Int, width: Int)? {
Expand Down

0 comments on commit 8bc71cd

Please sign in to comment.