Update README.md

This commit is contained in:
He4eT 2021-07-12 19:17:24 +05:00
commit f45a865c0a

View file

@ -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)