Skip to content

Instantly share code, notes, and snippets.

@claymcleod
claymcleod / pycurses.py
Last active March 23, 2025 17:37
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()
@tehasdf
tehasdf / LICENSE
Last active July 21, 2020 21:47
A quick hack to create "forms" using urwid.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit