21 lines
615 B
Plaintext
21 lines
615 B
Plaintext
global sleep: function(time: number)
|
|
|
|
global write: function(text: string): number
|
|
--global print: function(...: any): number
|
|
global printError: function(...: any)
|
|
|
|
--global type ReadCompletionFunction = function(partial: string): { string } | nil
|
|
--global read: function(replaceChar: string | nil, history: table | nil, completeFn: ReadCompletionFunction | nil, default: string | nil): string
|
|
|
|
global _HOST: string
|
|
global _CC_DEFAULT_SETTINGS: string
|
|
|
|
require("types/colors")
|
|
require("types/term")
|
|
require("types/parallel")
|
|
require("types/http")
|
|
require("types/shell")
|
|
require("types/window")
|
|
require("types/os")
|
|
|