Skip to content

Commit

Permalink
remove binary event
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 committed Nov 22, 2023
1 parent f0632f3 commit 7323de6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions archipelago/Strada/TerminalComponent.swift
Expand Up @@ -21,8 +21,6 @@ final class TerminalComponent: BridgeComponent {
self.terminal?.kill()
case .write:
handleWriteEvent(message: message)
case .binary:
handleBinaryEvent(message: message)
case .resize:
handleResizeEvent(message: message)
case .profileChanged:
Expand Down Expand Up @@ -68,10 +66,6 @@ final class TerminalComponent: BridgeComponent {
self.terminal.setSize(cols: data.cols, rows: data.rows)
}

private func handleBinaryEvent(message: Message) {
//guard let data: MessageData = message.data() else { return }
}

private func dataReceived(data: Data) {
let uint8Array: [UInt8] = Array(data)
let json = """
Expand Down Expand Up @@ -134,7 +128,6 @@ extension TerminalComponent {
case data
case disconnect
case write
case binary
case resize
case profileChanged
}
Expand Down

0 comments on commit 7323de6

Please sign in to comment.