From b11734bd677c8de950b5fe575f5ed80e33ceef57 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 4 Aug 2023 11:11:15 -0700 Subject: [PATCH] default the title to the ghostty emoji This only happens if the shell hasn't reported a pwd AND title. --- macos/Sources/Ghostty/SurfaceView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/Sources/Ghostty/SurfaceView.swift b/macos/Sources/Ghostty/SurfaceView.swift index 25c74b3dc..81a7bca81 100644 --- a/macos/Sources/Ghostty/SurfaceView.swift +++ b/macos/Sources/Ghostty/SurfaceView.swift @@ -123,7 +123,7 @@ extension Ghostty { // The current title of the surface as defined by the pty. This can be // changed with escape codes. This is public because the callbacks go // to the app level and it is set from there. - @Published var title: String = "" + @Published var title: String = "👻" private(set) var surface: ghostty_surface_t? var error: Error? = nil