From f45a865c0a4db12e9f6b086a09cb19d384c78faa Mon Sep 17 00:00:00 2001 From: He4eT Date: Mon, 12 Jul 2021 19:17:24 +0500 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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)