console-gui-tools
Advanced tools
Comparing version 3.1.1 to 3.2.0
@@ -16,2 +16,3 @@ import { ForegroundColorName } from "chalk"; | ||
* @prop {number[]} [pageRatio] - The ratio of the pages. (in horizontal direction) | ||
* @prop {boolean} [fitHeight] - If the height of the pages should be the same. | ||
* | ||
@@ -31,2 +32,3 @@ * @export | ||
pageRatio?: [number, number]; | ||
fitHeight?: boolean; | ||
} | ||
@@ -33,0 +35,0 @@ /** |
@@ -19,2 +19,3 @@ import { ForegroundColorName } from "chalk"; | ||
* @prop {number[]} [pageRatio] - The ratio of the pages. (in horizontal direction) | ||
* @prop {boolean} [fitHeight] - If the height of the pages should be the same. | ||
* | ||
@@ -34,2 +35,3 @@ * @export | ||
pageRatio?: [number, number] | [[number, number], [number, number]]; | ||
fitHeight?: boolean; | ||
} | ||
@@ -36,0 +38,0 @@ /** |
@@ -17,2 +17,3 @@ import { ForegroundColorName } from "chalk"; | ||
* @prop {number[]} [pageRatio] - The ratio of the pages. | ||
* @prop {boolean} [fitHeight] - If the height of the pages should be the same. | ||
* | ||
@@ -33,2 +34,3 @@ * @export | ||
pageRatio?: [[number, number], [number, number]]; | ||
fitHeight?: boolean; | ||
} | ||
@@ -35,0 +37,0 @@ /** |
@@ -12,2 +12,3 @@ import { ForegroundColorName } from "chalk"; | ||
* @prop {string} [pageTitle] - The title of the first page. | ||
* @prop {boolean} [fitHeight] - If the height of the layout should be the same as the height of the screen. | ||
* | ||
@@ -23,2 +24,3 @@ * @export | ||
pageTitle?: string; | ||
fitHeight?: boolean; | ||
} | ||
@@ -25,0 +27,0 @@ /** |
{ | ||
"name": "console-gui-tools", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"description": "A simple library to draw option menu, text popup or other widgets and layout on a Node.js console.", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/ConsoleGui.mjs", |
@@ -83,2 +83,3 @@ # console-gui-tools | ||
boxStyle: 'bold', // The style of the box (bold) | ||
fitHeight: true, // Set to false to disable the auto height fit [default: false] (since v3.2.0 - **NEW!**) | ||
} | ||
@@ -387,2 +388,3 @@ ``` | ||
- boxStyle: The style of the box (default: 'bold') | ||
- fitHeight: Set to false to disable the auto height fit [default: false] (since v3.2.0 - **NEW!**) | ||
@@ -389,0 +391,0 @@ To draw multiple pages, we need to use the setPage or setPages methods: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1279727
4043
745