Skip to content

Comments

Removed blinking cursor and non-blocking getch()#5

Merged
mtoyoda merged 1 commit intomtoyoda:masterfrom
iiSeymour:master
Jan 4, 2014
Merged

Removed blinking cursor and non-blocking getch()#5
mtoyoda merged 1 commit intomtoyoda:masterfrom
iiSeymour:master

Conversation

@iiSeymour
Copy link
Contributor

A couple of UX tweaks:

  • curs_set(0) removes the blinking cursor from the animation.
  • The combination of nodelay(stdscr, TRUE); and getch(); handles any input whilst the animation is running (non-blocking). This stops it's being display in the terminal after the command finishes.
  • Trailing whitespace was auto-removed by emacs when adding previous two points.

mtoyoda added a commit that referenced this pull request Jan 4, 2014
Removed blinking cursor and non-blocking getch()
@mtoyoda mtoyoda merged commit 193acb1 into mtoyoda:master Jan 4, 2014
@mtoyoda
Copy link
Owner

mtoyoda commented Jan 4, 2014

Thanks a lot! I've merged it.

@SanskritFritz
Copy link

No version bump?

iiSeymour added a commit to iiSeymour/sl that referenced this pull request Mar 31, 2014
mtoyoda added a commit that referenced this pull request Apr 3, 2014
fix #5 version and copyright bump.
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.

3 participants