Update stuff

This commit is contained in:
Hariharan Mudaliar 2026-03-04 14:06:51 +05:30
commit 1441f83388
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
6 changed files with 456 additions and 30 deletions

View file

@ -123,10 +123,9 @@ struct NotchTerminalView: View {
Divider()
.padding(.horizontal, 8)
// Terminal content — .id(sessionGeneration) forces
// representable recreation only after an explicit restart.
// Terminal content — the containerView is stable across
// notch close/open cycles; updateNSView handles restart.
TerminalNSViewRepresentable(terminalManager: terminalManager)
.id(terminalManager.sessionGeneration)
.clipShape(RoundedRectangle(cornerRadius: 6, style: .continuous))
.padding(.horizontal, 8)
.padding(.bottom, 8)