macos: remove unused gotolasttab

This commit is contained in:
Mitchell Hashimoto
2024-08-26 20:17:15 -07:00
parent 512b24818a
commit 866a7dfcf1

View File

@ -379,14 +379,6 @@ extension Ghostty {
) )
} }
static func gotoLastTab(_ userdata: UnsafeMutableRawPointer?) {
let surface = self.surfaceUserdata(from: userdata)
NotificationCenter.default.post(
name: Notification.ghosttyGotoTab,
object: surface
)
}
static func readClipboard(_ userdata: UnsafeMutableRawPointer?, location: ghostty_clipboard_e, state: UnsafeMutableRawPointer?) { static func readClipboard(_ userdata: UnsafeMutableRawPointer?, location: ghostty_clipboard_e, state: UnsafeMutableRawPointer?) {
// If we don't even have a surface, something went terrible wrong so we have // If we don't even have a surface, something went terrible wrong so we have
// to leak "state". // to leak "state".