generated from rnentjes/kotlin-server-web-undertow
Remove legacy JVM-specific file system, shell, and related implementations; migrate to platform-agnostic and common main modules.
This commit is contained in:
15
src/commonMain/kotlin/mtmc/os/shell/builtins/PauseCommand.kt
Normal file
15
src/commonMain/kotlin/mtmc/os/shell/builtins/PauseCommand.kt
Normal file
@@ -0,0 +1,15 @@
|
||||
package mtmc.os.shell.builtins
|
||||
|
||||
import mtmc.emulator.MonTanaMiniComputer
|
||||
import mtmc.os.shell.ShellCommand
|
||||
import mtmc.tokenizer.MTMCTokenizer
|
||||
|
||||
class PauseCommand : ShellCommand() {
|
||||
override fun exec(tokens: MTMCTokenizer, computer: MonTanaMiniComputer) {
|
||||
computer.pause()
|
||||
}
|
||||
override val help: String
|
||||
|
||||
get() = "pause - pauses the computer"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user