default the title to the ghostty emoji

This only happens if the shell hasn't reported a pwd AND title.
This commit is contained in:
Mitchell Hashimoto
2023-08-04 11:11:15 -07:00
parent fb2f635c91
commit b11734bd67

View File

@ -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