Upgraded node.js and bumped version

This commit is contained in:
Nathan Byrd 2022-03-28 17:52:52 -05:00
parent ec2f6af1d0
commit 590f494f44
5 changed files with 9 additions and 6 deletions

View file

@ -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