mirror of
https://github.com/He4eT/cheap-glkote.git
synced 2026-05-05 00:47:28 +00:00
Update README.md
This commit is contained in:
parent
706cf53627
commit
f45a865c0a
1 changed files with 11 additions and 1 deletions
12
README.md
12
README.md
|
|
@ -11,7 +11,8 @@ This repository includes examples of [stdio interface implementation](https://gi
|
||||||
|
|
||||||
### Initialization
|
### Initialization
|
||||||
```js
|
```js
|
||||||
const { glkInterface, sendFn } = CheapGlkOte(handlers [, loggers])
|
const { glkInterface, sendFn } =
|
||||||
|
CheapGlkOte(handlers [, { loggers, size }])
|
||||||
```
|
```
|
||||||
|
|
||||||
### Input
|
### Input
|
||||||
|
|
@ -88,6 +89,15 @@ const defaultLoggers = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Size
|
||||||
|
Default sizes:
|
||||||
|
```js
|
||||||
|
const defaultSize = {
|
||||||
|
width: 80,
|
||||||
|
height: 25
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Inspired and powered by
|
## Inspired and powered by
|
||||||
|
|
||||||
- [glkote-term](https://github.com/curiousdannii/glkote-term)
|
- [glkote-term](https://github.com/curiousdannii/glkote-term)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue