Elius94 / console-gui-tools

A simple library to draw option menu or other popup inputs and layout on Node.js console.
MIT License
111 stars 17 forks source link

Elius94/issue8 #28

Closed Elius94 closed 2 years ago

Elius94 commented 2 years ago

Improved Layout styling and definitions: Now the following options are allowed:

{
logLocation: 1, // Location of the logs page - it can be 0, 1 or 'popup'
    layoutOptions: {
        boxed: true, // Set to true to enable boxed layout
        showTitle: true, // Set to false to hide title
        changeFocusKey: 'ctrl+l', // Change layout with ctrl+l to switch to the logs page
        type: 'double', // Set to 'double' to enable double layout
        direction: 'vertical', // Set to 'horizontal' to enable horizontal layout
        boxColor: 'yellow',
        boxStyle: 'bold',
    }
}