Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reapply fixes from pull request 214 (term-prompt) #287

Open
ksmith0 opened this issue Jun 8, 2017 · 0 comments
Open

Reapply fixes from pull request 214 (term-prompt) #287

ksmith0 opened this issue Jun 8, 2017 · 0 comments
Labels

Comments

@ksmith0
Copy link
Contributor

ksmith0 commented Jun 8, 2017

Due to other merges the #214 pull request got clobbered. These changes from the term-prompt branch should be reincorporated.

When a command is entered the prompt is cleared until GetCommand is
called again. The KEY_UP and KEY_DOWN commands call clear_ and required
printing of the prompt after the clear_ as well. This permits long running commands such as adjust_offsets to indicate to the user that something is happening.
Prior to this the prompt would reappear immediately adfter the command was entered. If a command took some time to complete it appeared as if nothing happened and the user would retype the command to be surprised by the eventual output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant