Initializer
init(maxHistorySize:)
Creates a new command stack with the specified history size.
@MainActor init(maxHistorySize: Int = 50)
Parameters
maxHistorySize-
Maximum commands to retain (default: 50)
Initializer
Creates a new command stack with the specified history size.
@MainActor init(maxHistorySize: Int = 50)
maxHistorySizeMaximum commands to retain (default: 50)