Skip to content

Instantly share code, notes, and snippets.

@russau
Created February 7, 2016 16:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russau/aa0196fa65f4a83775bc to your computer and use it in GitHub Desktop.
Save russau/aa0196fa65f4a83775bc to your computer and use it in GitHub Desktop.
# from https://youtu.be/7bwK9tsdve4
import curses
import time
screen = curses.initscr()
dims = screen.getmaxyx()
for z in range(dims[1]-12):
screen.clear()
screen.addstr(dims[0]/2, z, "Hello World!")
screen.refresh()
time.sleep(0.05)
screen.getch()
curses.endwin()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment