mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 03:58:17 +02:00
Menu "options" block is now deprecated. Move members to "config"!
* Deprecate & allow conversion behind the scenes for now + add warning in log * Add some initial docs * Clean up prompt.hjson and menu.hjson
This commit is contained in:
parent
746bd5abd0
commit
dfe1c297b5
8 changed files with 95 additions and 83 deletions
|
@ -571,7 +571,7 @@ function displayThemedPrompt(name, client, options, cb) {
|
|||
// doing so messes things up -- most terminals that support font
|
||||
// changing can only display a single font at at time.
|
||||
//
|
||||
const dispOptions = Object.assign( {}, options, promptConfig.options );
|
||||
const dispOptions = Object.assign( {}, options, promptConfig.config );
|
||||
// :TODO: We can use term detection to do nifty things like avoid this kind of kludge:
|
||||
if(!options.clearScreen) {
|
||||
dispOptions.font = 'not_really_a_font!'; // kludge :)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue