Skip to content

Instantly share code, notes, and snippets.

@njlr
Created August 21, 2017 14:35
Show Gist options
  • Save njlr/d7dc1c1b501be47b705fb5462f3fc8b7 to your computer and use it in GitHub Desktop.
Save njlr/d7dc1c1b501be47b705fb5462f3fc8b7 to your computer and use it in GitHub Desktop.
// Pseudo-code
function updateProgressBar() {
 print (eraseCharEscapeCode * lastProgressBarLength);
 print (‘#’ * progressBarLength);
lastProgressBarLength = progressBarLength;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment