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

No sleeping. No clearing. #4

Merged
merged 1 commit into from
Aug 23, 2012
Merged

No sleeping. No clearing. #4

merged 1 commit into from
Aug 23, 2012

Conversation

flowchartsman
Copy link
Contributor

NOTE: I haven't tested this; it's just a quick edit to let you see where I'm going with this.  Please test it and make sure that it doesn't break anything.

Sleeping for informational purposes is no good.  If the user misses a message (or, god forbid, an opportunity to abort under certain circumstances), that's bad.  Prompt for choices, die on errors and otherwise let it scroll by.  If they really need something from the process, put it at the end as I've done here.  If they really want to see other messages, they can log them somewhere or use a scrollback buffer (or you can log them with a custom routine, which you probably should at some point).

Also, clearing the screen looks cool and tidy at first, but it means data is lost, and you will find that many users find the experience disconcerting: "What was that I saw when I looked back after looking away for a moment?  Was it important?".

NOTE: I haven't tested this; it's just a quick edit to let you see where I'm going with this.  Please test it and make sure that it doesn't break anything.




Sleeping for informational purposes is no good.  If the user misses a message (or, god forbid, an opportunity to abort under certain circumstances), that's bad.  Prompt for choices, die on errors and otherwise let it scroll by.  If they really need something from the process, put it at the end as I've done here.  If they really want to see other messages, they can log them somewhere or use a scrollback buffer (or you can log them with a custom routine, which you probably should at some point).




Also, clearing the screen looks cool and tidy at first, but it means data is lost, and you will find that many users find the experience disconcerting: "What was that I saw when I looked back after looking away for a moment?  Was it important?".
@da667
Copy link
Owner

da667 commented Aug 23, 2012

Agreeing with logic presented here. Will test code changes tomorrow and merge upon verification that fixes work as intended.

da667 added a commit that referenced this pull request Aug 23, 2012
No sleeping. No clearing. Approved: da667.
@da667 da667 merged commit e0e462c into da667:master Aug 23, 2012
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