Skip to content

Instantly share code, notes, and snippets.

@TheSainEyereg
Last active January 10, 2021 14:53
Show Gist options
  • Select an option

  • Save TheSainEyereg/4a8eed96ec6e1f4119cf1f165109b237 to your computer and use it in GitHub Desktop.

Select an option

Save TheSainEyereg/4a8eed96ec6e1f4119cf1f165109b237 to your computer and use it in GitHub Desktop.
Discord Animated status terminal cursor.
let string = 'root@olejka.ru $ '
let even = () => {
let d = new Date();
return d.getSeconds()%2==0
}
if (even()) {string+='▌'}
new String(string)
"eval let string=\"root@olejka.ru $ \",even=()=>{return(new Date).getSeconds()%2==0};even()&&(string+=\"▌\"),new String(string)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment