Explorar el Código

Very basic ncurses

Petra Lamborn hace 4 años
padre
commit
ffb2f3dfc2
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9
    0
      fedicurses.py

+ 9
- 0
fedicurses.py Ver fichero

@@ -0,0 +1,9 @@
1
+import curses
2
+
3
+def main(stdscr):
4
+    stdscr.clear()
5
+    i = 'c'
6
+    while i != 'q':
7
+        i = stdscr.getkey()
8
+
9
+curses.wrapper(main)