diff --git a/README.md b/README.md index b5a7cfd..b485cc2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,8 @@ This repository includes examples of [stdio interface implementation](https://gi ### Initialization ```js -const { glkInterface, sendFn } = CheapGlkOte(handlers [, loggers]) +const { glkInterface, sendFn } = + CheapGlkOte(handlers [, { loggers, size }]) ``` ### Input @@ -88,6 +89,15 @@ const defaultLoggers = { } ``` +### Size +Default sizes: +```js +const defaultSize = { + width: 80, + height: 25 +} +``` + ## Inspired and powered by - [glkote-term](https://github.com/curiousdannii/glkote-term)