macos: support drag and drop with no windows

This commit is contained in:
Mitchell Hashimoto
2023-10-03 22:03:04 -07:00
parent d5299fec25
commit 6249621d71
3 changed files with 32 additions and 2 deletions

View File

@@ -199,8 +199,6 @@ extension Ghostty {
init(from config: ghostty_surface_config_s) {
self.fontSize = config.font_size
self.workingDirectory = String.init(cString: config.working_directory, encoding: .utf8)
let blah = workingDirectory!
AppDelegate.logger.warning("OPEN from=\(blah)")
}
/// Returns the ghostty configuration for this surface configuration struct. The memory