Skip to content

Commit

Permalink
Merge pull request #24 from amcalgates/ag
Browse files Browse the repository at this point in the history
Change Input.menuEntryNumber to optional Int array
  • Loading branch information
kaphacius authored Aug 7, 2023
2 parents 1f8136b + 396e3f9 commit 6e41391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/TerminalAPIKit/Models/Input.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public final class Input: Codable {
/// Undocumented.
public let password: [UInt8]?

/// Undocumented.
public let menuEntryNumber: Int?
/// Shows which option was selected. A value of 1 means selected, 0 means not selected..
public let menuEntryNumber: [Int]?

/// Initializes the Input.
///
Expand All @@ -39,7 +39,7 @@ public final class Input: Codable {
/// - Parameter digitInput: Undocumented.
/// - Parameter password: Undocumented.
/// - Parameter menuEntryNumber: Undocumented.
public init(inputCommand: InputCommand, confirmedFlag: Bool? = nil, functionKey: String? = nil, textInput: String? = nil, digitInput: String? = nil, password: [UInt8]? = nil, menuEntryNumber: Int? = nil) {
public init(inputCommand: InputCommand, confirmedFlag: Bool? = nil, functionKey: String? = nil, textInput: String? = nil, digitInput: String? = nil, password: [UInt8]? = nil, menuEntryNumber: [Int]? = nil) {
self.inputCommand = inputCommand
self.confirmedFlag = confirmedFlag
self.functionKey = functionKey
Expand Down

0 comments on commit 6e41391

Please sign in to comment.