Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setDefaultDelimiter(ui, explicit) {
if (explicit) ui.delimiter(`${PREFIX_EXPLICIT} [${twitter.configs.defaults.maxWeightedTweetLength}]> `);
else ui.delimiter(`${PREFIX} [---]> `);
}
static getRemainingTweetLength(status) {
return twitter.configs.defaults.maxWeightedTweetLength -
BirdknifeText.getTweetLength(status);
}