Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Coding

yihong yihong0618

🎯
Coding
View GitHub Profile
@yihong0618
yihong0618 / 📊 Weekly development breakdown
Last active Oct 23, 2020
Weekly development breakdown
View 📊 Weekly development breakdown
Python 19 hrs 6 mins █████████████████▏░░░ 82.0%
JavaScript 1 hr 55 mins █▋░░░░░░░░░░░░░░░░░░░ 8.2%
Other 1 hr ▉░░░░░░░░░░░░░░░░░░░░ 4.3%
JSX 50 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.6%
YAML 20 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.5%
@yihong0618
yihong0618 / pycurses.py
Created Jan 25, 2019 — forked from claymcleod/pycurses.py
Python curses example
View pycurses.py
import sys,os
import curses
def draw_menu(stdscr):
k = 0
cursor_x = 0
cursor_y = 0
# Clear and refresh the screen for a blank canvas
stdscr.clear()
You can’t perform that action at this time.