From 48e254dea962d5dc7f479bab7e7d702d83f63f3d Mon Sep 17 00:00:00 2001 From: Vitalii Kotivskyi Date: Mon, 5 Feb 2024 14:36:59 +0100 Subject: [PATCH] made terminal variable public, so custom Terminal implementation can be used by extending MacTerminalView - Fixes problem when you can subclass MacTerminalView and can subclass Terminal class, but can not use both of them together --- Sources/SwiftTerm/Mac/MacTerminalView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftTerm/Mac/MacTerminalView.swift b/Sources/SwiftTerm/Mac/MacTerminalView.swift index f5b4dc0f..7f6cfdfa 100644 --- a/Sources/SwiftTerm/Mac/MacTerminalView.swift +++ b/Sources/SwiftTerm/Mac/MacTerminalView.swift @@ -93,7 +93,7 @@ open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, var cellDimension: CellDimension! var caretView: CaretView! - var terminal: Terminal! + public var terminal: Terminal! var selection: SelectionService! private var scroller: NSScroller!