Skip to content

Add clear internal command to clear screen#61

Open
jm66 wants to merge 1 commit intoclick-contrib:masterfrom
jm66:internal-clear
Open

Add clear internal command to clear screen#61
jm66 wants to merge 1 commit intoclick-contrib:masterfrom
jm66:internal-clear

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
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

2 participants