From ae1be83a597df0b4da94b0082fed051f19b81080 Mon Sep 17 00:00:00 2001 From: the-ryan-1 Date: Mon, 10 Jan 2022 18:02:01 -0800 Subject: [PATCH 1/4] added support for windows hyperspeed print --- cupp.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cupp.py b/cupp.py index 32d24ee..bbb243d 100755 --- a/cupp.py +++ b/cupp.py @@ -142,7 +142,10 @@ def print_to_file(filename, unique_list_finished): for line in data: print("\033[1;32m[" + filename + "] \033[1;33m" + line) time.sleep(0000.1) - os.system("clear") + if os.name == "nt": + os.system("cls") + else: + os.system("clear") except Exception as e: print("[ERROR]: " + str(e)) else: From 56780e03ce0cc2a0e689482d9402e3ce0f99cceb Mon Sep 17 00:00:00 2001 From: the-ryan-1 Date: Mon, 10 Jan 2022 18:03:23 -0800 Subject: [PATCH 2/4] bugfix for specialchars --- cupp.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cupp.cfg b/cupp.cfg index 9ad5b98..8311819 100644 --- a/cupp.cfg +++ b/cupp.cfg @@ -30,7 +30,7 @@ z=2 # separated by comma [specialchars] -chars=!,@,'#',$,%%,&,* +chars=!,@,#,$,%%,&,* # [ Random years ] take it as much as you need! From 93ac0312944c1485aff19eb325f817036e82b23b Mon Sep 17 00:00:00 2001 From: the-ryan-1 Date: Mon, 10 Jan 2022 18:04:17 -0800 Subject: [PATCH 3/4] fixed test failure on hyperspeed print --- test_cupp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test_cupp.py b/test_cupp.py index ea06ad1..0cb273c 100755 --- a/test_cupp.py +++ b/test_cupp.py @@ -132,6 +132,7 @@ def test_interactive(self): "Y", # Special chars "N", # Random "N", # Leet mode + "Y", # Hyperspeed Print ] test_ok = False From 3a63721acf133569331f4ad8ddbaee9e5a29727e Mon Sep 17 00:00:00 2001 From: the-ryan-1 Date: Mon, 10 Jan 2022 18:06:40 -0800 Subject: [PATCH 4/4] bugfixes --- .bumpversion.cfg | 2 +- CHANGELOG.md | 5 +++++ cupp.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 74aa854..74a7b84 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.3.0 +current_version = 3.3.1 commit = True tag = True diff --git a/CHANGELOG.md b/CHANGELOG.md index 1614676..43866fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 3.2.1 +- fixed hashtag symbol outputting quote symbol +- fixed hyperspeed printing failure in test_cupp.py +- added support for windows clearing terminal on hyperspeed print + ## 3.2.0-alpha - ran 2to3 on cupp.py to make it Python3 compatible diff --git a/cupp.py b/cupp.py index bbb243d..cdfdfb9 100755 --- a/cupp.py +++ b/cupp.py @@ -44,7 +44,7 @@ __author__ = "Mebus" __license__ = "GPL" -__version__ = "3.3.0" +__version__ = "3.3.1" CONFIG = {}