Skip to content

Conversation

@kmvanbrunt
Copy link
Member

Added the following convenience methods

  • Cmd.in_script() - return whether a text script is running
  • Cmd.in_pyscript() - return whether a pyscript is running

Closes #779

Copy link
Member

@tleonhardt tleonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@tleonhardt tleonhardt merged commit 41d3c66 into master Sep 24, 2019
@tleonhardt tleonhardt deleted the in_script branch September 24, 2019 02:40
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.

Add method to know if you are in a script

3 participants