|
|
@ -1,4 +1,4 @@ |
|
|
|
#! /usr/bin/python |
|
|
|
#! ./bin/python |
|
|
|
|
|
|
|
from field import Field |
|
|
|
import curses |
|
|
@ -6,7 +6,7 @@ import logging |
|
|
|
from curses import wrapper |
|
|
|
from SourceGenerator import SourceGenerator |
|
|
|
|
|
|
|
__VERSION__ = '1.00' |
|
|
|
__VERSION__ = '1.01' |
|
|
|
|
|
|
|
logging.basicConfig( format='%(asctime)s [%(levelname)s] %(funcName)s: %(message)s', |
|
|
|
filename='r4.log', |
|
|
@ -26,8 +26,9 @@ def display_help(stdscr): |
|
|
|
stdscr.addstr(0,0,f'r4matrixed V {__VERSION__}') |
|
|
|
stdscr.addstr(1,0,'h - Help') |
|
|
|
stdscr.addstr(2,0,'g - generate Source') |
|
|
|
stdscr.addstr(3,0,'q - Quit') |
|
|
|
stdscr.addstr(6,0,'<<Press any key to return>>',curses.color_pair(3)) |
|
|
|
stdscr.addstr(3,0,'0 - clear the matrix') |
|
|
|
stdscr.addstr(4,0,'q - Quit') |
|
|
|
stdscr.addstr(7,0,'<<Press any key to return>>',curses.color_pair(3)) |
|
|
|
stdscr.getch() |
|
|
|
|
|
|
|
def inputLoop(stdscr): |
|
|
|