From 57d0cd5ef6fe44ee0816e43f0ceff3f1f2a40102 Mon Sep 17 00:00:00 2001 From: Olli Graf Date: Tue, 14 May 2024 16:49:04 +0200 Subject: [PATCH] changed shebang to ./bin/python in virtualenv. Added 0-key in help menu. --- pyvenv.cfg | 6 +++--- r4matrixed.py | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pyvenv.cfg b/pyvenv.cfg index b121c6f..e51bac6 100644 --- a/pyvenv.cfg +++ b/pyvenv.cfg @@ -1,7 +1,7 @@ -home = /usr/bin +home = /usr implementation = CPython -version_info = 3.11.2.final.0 -virtualenv = 20.17.1+ds +version_info = 3.9.2.final.0 +virtualenv = 20.4.0+ds include-system-site-packages = false base-prefix = /usr base-exec-prefix = /usr diff --git a/r4matrixed.py b/r4matrixed.py index 6588b0f..6fe6a4a 100755 --- a/r4matrixed.py +++ b/r4matrixed.py @@ -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,'<>',curses.color_pair(3)) + stdscr.addstr(3,0,'0 - clear the matrix') + stdscr.addstr(4,0,'q - Quit') + stdscr.addstr(7,0,'<>',curses.color_pair(3)) stdscr.getch() def inputLoop(stdscr):