diff --git a/Sources/SwiftTerm/Apple/AppleTerminalView.swift b/Sources/SwiftTerm/Apple/AppleTerminalView.swift index 492d356c..098c05e5 100644 --- a/Sources/SwiftTerm/Apple/AppleTerminalView.swift +++ b/Sources/SwiftTerm/Apple/AppleTerminalView.swift @@ -131,6 +131,8 @@ extension TerminalView { search.invalidate () terminalDelegate?.sizeChanged (source: self, newCols: newCols, newRows: newRows) + + updateScroller() return true } return false @@ -545,7 +547,6 @@ extension TerminalView { func calcLineOffset (forRow: Int) -> CGFloat { cellDimension.height * CGFloat (forRow-bufferOffset+1) } - // draw lines #if os(iOS) || os(visionOS) // On iOS, we are drawing the exposed region