Skip to content

Instantly share code, notes, and snippets.

View HyoMiYing's full-sized avatar

Rok Klančar HyoMiYing

View GitHub Profile
@claymcleod
claymcleod / pycurses.py
Last active November 30, 2024 16:08
Python curses example
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()