Skip to content

Conversation

@br14n-sol
Copy link
Owner

@br14n-sol br14n-sol commented Oct 22, 2024

  • Added support for custom prefix based on the status of the prompt

    • idle: image
    • done: image
    • canceled: image
  • Now theme.message will have a second parameter called status with which you can change the color of the message depending on the status of the prompt.

Note

By default the value of theme.message will remain chalk.bold regardless of the state of the prompt.

Starting with @inquirer/core version 9.2.0, support was added for using a dynamic prefix based on the status of the prompt, instead of the usual `?`.
@br14n-sol br14n-sol merged commit d86ded1 into main Oct 22, 2024
@br14n-sol br14n-sol deleted the inquirer-core-compatibility branch October 22, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant