Compare commits

...

1 Commits

  1. 6
      pyvenv.cfg
  2. 9
      r4matrixed.py

6
pyvenv.cfg

@ -1,7 +1,7 @@
home = /usr/bin home = /usr
implementation = CPython implementation = CPython
version_info = 3.11.2.final.0 version_info = 3.9.2.final.0
virtualenv = 20.17.1+ds virtualenv = 20.4.0+ds
include-system-site-packages = false include-system-site-packages = false
base-prefix = /usr base-prefix = /usr
base-exec-prefix = /usr base-exec-prefix = /usr

9
r4matrixed.py

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

Loading…
Cancel
Save