From 4324c410c07ee2be3107fbe3ee804d3f7138f040 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 12 Feb 2017 00:25:25 -0700 Subject: [PATCH] Minor update; use resetScreen() vs clearScreen() --- mods/file_area_list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/file_area_list.js b/mods/file_area_list.js index 7a36f21b..aa661a5e 100644 --- a/mods/file_area_list.js +++ b/mods/file_area_list.js @@ -207,7 +207,7 @@ exports.getModule = class FileAreaList extends MenuModule { const isQueuedIndicator = config.isQueuedIndicator || 'Y'; const isNotQueuedIndicator = config.isNotQueuedIndicator || 'N'; - const entryInfo = this.currentFileEntry.entryInfo = { + const entryInfo = currEntry.entryInfo = { fileId : currEntry.fileId, areaTag : currEntry.areaTag, areaName : area.name || 'N/A', @@ -219,7 +219,7 @@ exports.getModule = class FileAreaList extends MenuModule { userRating : currEntry.userRating, uploadTimestamp : moment(currEntry.uploadTimestamp).format(uploadTimestampFormat), hashTags : Array.from(currEntry.hashTags).join(hashTagsSep), - isQueued : this.dlQueue.isQueued(this.currentFileEntry) ? isQueuedIndicator : isNotQueuedIndicator, + isQueued : this.dlQueue.isQueued(currEntry) ? isQueuedIndicator : isNotQueuedIndicator, webDlLink : '', // :TODO: fetch web any existing web d/l link webDlExpire : '', // :TODO: fetch web d/l link expire time }; @@ -281,7 +281,7 @@ exports.getModule = class FileAreaList extends MenuModule { [ function readyAndDisplayArt(callback) { if(options.clearScreen) { - self.client.term.rawWrite(ansi.clearScreen()); + self.client.term.rawWrite(ansi.resetScreen()); } theme.displayThemedAsset(