diff --git a/tabs/cli.js b/tabs/cli.js index 3e86f00e2..4bdf95e6c 100644 --- a/tabs/cli.js +++ b/tabs/cli.js @@ -122,7 +122,7 @@ TABS.cli.initialize = function (callback) { new Promise((resolve) => { timeout.add('CLI_send_slowly', () => { let processingDelay = TABS.cli.lineDelayMs; - if (line.toLowerCase().startsWith('profile')) { + if (line.toLowerCase().includes('_profile')) { processingDelay = TABS.cli.profileSwitchDelayMs; } const isLastCommand = outputArray.length === index + 1;