1 parent d327a2b commit aa977c3Copy full SHA for aa977c3
1 file changed
Sources/SwiftTerm/BufferLine.swift
@@ -21,7 +21,9 @@ public final class BufferLine: CustomDebugStringConvertible {
21
/// Renders the bottom of a character, using two cells
22
case doubledDown
23
}
24
- var isWrapped: Bool { didSet { bump() } }
+ /// True when this line is a continuation of the previous line: the text
25
+ /// soft-wrapped onto it rather than starting after an explicit newline.
26
+ public internal(set) var isWrapped: Bool { didSet { bump() } }
27
var renderMode: RenderLineMode = .single { didSet { bump() } }
28
private var data: UnsafeMutableBufferPointer<CharData>
29
private var dataSize: Int
0 commit comments