Turn on strict memory safety for the macOS app
This commit is contained in:
@@ -82,7 +82,7 @@ struct TerminalHost: NSViewRepresentable {
|
||||
context.coordinator.view = t
|
||||
DispatchQueue.main.async {
|
||||
colour(t)
|
||||
t.window?.makeFirstResponder(t)
|
||||
unsafe t.window?.makeFirstResponder(t)
|
||||
context.coordinator.connect()
|
||||
}
|
||||
return t
|
||||
|
||||
Reference in New Issue
Block a user