# appendHistory
function appendHistory(console, value)Append history.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
value | dynamic | — | Value consumed or transformed by the operation. |
src/miniquake2/client/ui/console.mlProvides miniquake2 client ui console facilities for this project.
miniquake2/client/ui/constants.ml as cuic → src/miniquake2/client/ui/constants.mlminiquake2/client/ui/types.ml as cuitypes → src/miniquake2/client/ui/types.mlstd/math.ml as smath → ../MiniLangCompilerML/std/math.ml external dependencyfunction appendHistory(console, value)Append history.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
value | dynamic | — | Value consumed or transformed by the operation. |
function appendLine(console, text, time)Append line.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
text | dynamic | — | Text consumed by the operation. |
time | dynamic | — | time value consumed by this operation. |
function appendText(console, text, time)Append text.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
text | dynamic | — | Text consumed by the operation. |
time | dynamic | — | time value consumed by this operation. |
function clearNotify(console)Clear notify.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
function clearTyping(console)Clear typing.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
function create(widthChars)Creates create for the miniquake2 client ui console module.
| Parameter | Type | Default | Description |
|---|---|---|---|
widthChars | dynamic | — | widthChars value consumed by this operation. |
inline function drainCommands(console)Performs the drainCommands operation for the miniquake2 client ui console module.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
function draw(console, screenWidth, screenHeight, exports)Draws draw through the miniquake2 client ui console rendering path.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
screenWidth | dynamic | — | screenWidth value consumed by this operation. |
screenHeight | dynamic | — | screenHeight value consumed by this operation. |
exports | dynamic | — | exports value consumed by this operation. |
function drawText(exports, x, y, text)Draws text through the miniquake2 client ui console rendering path.
| Parameter | Type | Default | Description |
|---|---|---|---|
exports | dynamic | — | exports value consumed by this operation. |
x | dynamic | — | Horizontal coordinate used by the operation. |
y | dynamic | — | Vertical coordinate used by the operation. |
text | dynamic | — | Text consumed by the operation. |
function editKey(console, key)Return the edit key value.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
key | dynamic | — | key value consumed by this operation. |
function insertByte(console, value)Insert byte.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
value | dynamic | — | Value consumed or transformed by the operation. |
function notify(console, now, exports)Notify state.
| Parameter | Type | Default | Description |
|---|---|---|---|
console | dynamic | — | console value consumed by this operation. |
now | dynamic | — | now value consumed by this operation. |
exports | dynamic | — | exports value consumed by this operation. |