mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 13:36:16 +02:00
Upgraded node.js and bumped version
This commit is contained in:
parent
ec2f6af1d0
commit
590f494f44
5 changed files with 9 additions and 6 deletions
|
@ -585,7 +585,7 @@ function displayThemedPrompt(name, client, options, cb) {
|
|||
return callback(null, promptConfig, artInfo);
|
||||
}
|
||||
|
||||
if(!_.isNil(options) && !_.isNil(options.position) && !_.isNil(options.position.row)) {
|
||||
if(!_.isNil(options?.position?.row)) {
|
||||
artInfo.startRow = options.position.row;
|
||||
if(client.term.termHeight > 0 && artInfo.startRow + artInfo.height > client.term.termHeight) {
|
||||
// in this case, we will have scrolled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue