Terminal related - IUrixl/Kova GitHub Wiki

Print

Print content on screen.

Basic Syntaxis

print "<content>"

Arguments

Argument Definition
Content Content to print, variables can be used with %variablename% or %escEM%variablename%escEm%

Example of use

define main -> {
	print "Hello world"
}

Println

Direct transpilation of echo.

Basic Syntaxis

println

Example of use

define main -> {
	print "Hello world"
	println
	print "Spaced"
}

Clear

Clears the screen buffer, direct transpilation of cls.

Basic Syntaxis

clear

Example of use

define main -> {
	print "This wont be seen"
	clear
	print "This will be seen"
}

Input

Retreives user input.

Basic Syntaxis

input <variable> -> <display>

Arguments

Argument Definition
Variable Variable where the obtained input will be stored
Display Text that will be displayed while asking the user for its input

Example of use

define main -> {
	input Age -> "Whats your age" 
}

Halt

Halts, direct transpilation of exit.

Basic Syntaxis

halt <mode> <params>

Arguments

Argument Definition
Mode Mode for the halt command
Params Only needed during the "thread" mode

Example of use

define main -> {
	// halt whole process
	halt all

	// halt current process
	halt running

	// halt specific thread with its errorlevel
	halt thread errorlevelhere
}

Title

Changes the window's title.

Basic Syntaxis

title <display>

Arguments

Argument Definition
Display Text that will be displayed on the title's bar of the window.

Example of use

define main -> {
	title "My cool app"
}

Execute

Cmd

⚠️ **GitHub.com Fallback** ⚠️