Skip to content

Conversation

jm66
Copy link
Contributor

@jm66 jm66 commented Sep 12, 2019

based on prompt-toolkit.shortcuts.clear function.
Add ability to create "callable" internal commands

@jm66 jm66 requested a review from untitaker January 29, 2020 13:01
@@ -234,6 +239,9 @@ def get_command():
if isinstance(result, six.string_types):
click.echo(result)
continue
if callable(result):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this branch needed? Just call clear from within clear_internal?

prompt-toolkit.shortcuts.clear function.
Add ability to create "callable" internal commands
@jm66 jm66 force-pushed the internal-clear branch from 92e6893 to 9747560 Compare May 13, 2021 18:25
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.

2 participants