a mini-console support with scroll up / down (#112)

* a mini-console support with scroll up / down

* fix compile error
This commit is contained in:
Peli de Halleux
2017-12-18 22:36:32 -08:00
committed by GitHub
parent 0529759a80
commit 60bf3a17d3
7 changed files with 121 additions and 11 deletions

View File

@ -123,11 +123,6 @@
"String.substr": "Return a substring of the current string.",
"String.substr|param|length": "number of characters to extract",
"String.substr|param|start": "first character index; can be negative from counting from the end, eg:0",
"console": "Reading and writing data to the console output.",
"console.log": "Write a line of text to the console output.",
"console.logValue": "Write a name:value pair as a line of text to the console output.",
"console.logValue|param|name": "name of the value stream, eg: \"x\"",
"console.logValue|param|value": "to write",
"control": "Program controls and events.",
"control.AnimationQueue.cancel": "Cancels the current running animation and clears the queue",
"control.AnimationQueue.runUntilDone": "Runs 'render' in a loop until it returns false or the 'stop' function is called",

View File

@ -19,9 +19,6 @@
"String.length|block": "length of %VALUE",
"String.substr|block": "substring of %this=text|from %start|of length %length",
"String|block": "String",
"console.logValue|block": "console|log value %name|= %value",
"console.log|block": "console|log %text",
"console|block": "console",
"control.assert|block": "assert %cond|with value %code",
"control.deviceSerialNumber|block": "device serial number",
"control.millis|block": "millis (ms)",
@ -46,7 +43,6 @@
"{id:category}Arrays": "Arrays",
"{id:category}Boolean": "Boolean",
"{id:category}Buffer": "Buffer",
"{id:category}Console": "Console",
"{id:category}Control": "Control",
"{id:category}Helpers": "Helpers",
"{id:category}Loops": "Loops",

View File

@ -17,8 +17,7 @@
"control.cpp",
"control.ts",
"serial.cpp",
"serial.ts",
"console.ts"
"serial.ts"
],
"testFiles": [
"test.ts"