From 6280887bd3c08ce11d44ed840d9020022586f181 Mon Sep 17 00:00:00 2001 From: Eugenio Parodi Date: Tue, 16 Mar 2021 16:07:19 +0000 Subject: [PATCH] Playing with ASCII; New Logo --- README.md | 15 +++++++++++++-- TermTk/TTkCore/filebuffer.py | 2 +- TermTk/TTkCore/ttk.py | 14 ++++++++------ 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 95b091e2..9f2bc3c3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -# [pyTermTk](https://github.com/ceccopierangiolieugenio/pyTermTk) ![Linux](https://img.shields.io/badge/-Linux-grey?logo=linux) ![Usage](https://img.shields.io/badge/Usage-Terminal%20User%20Interface-yellow) @@ -8,7 +7,19 @@ [![Test Status](https://img.shields.io/github/workflow/status/ceccopierangiolieugenio/pyTermTk/Testing?label=tests)](https://github.com/ceccopierangiolieugenio/pyTermTk/actions?query=workflow%3Atesting) [![pypi_version](https://img.shields.io/pypi/v/pyTermTk?label=pypi)](https://pypi.org/project/pyTermTk) -#### Python Terminal Toolkit + +```text + ████████╗ ████████╗ + ╚══██╔══╝ ╚══██╔══╝ + ██║ ▄▄ ▄ ▄▄ ▄▄▖▄▖ ██║ █ ▗▖ +▞▀▚ ▖▗ ██║ █▄▄█ █▀▘ █ █ █ ██║ █▟▘ +▙▄▞▐▄▟ ██║ ▀▄▄▖ █ █ ▝ █ ██║ █ ▀▄ +▌ ▐ ╚═╝ ╚═╝ + ▚▄▄▘ +``` + +## [python Terminal Toolkit](https://github.com/ceccopierangiolieugenio/pyTermTk) + Text-based user interface library ([TUI](https://en.wikipedia.org/wiki/Text-based_user_interface)) Evolved from the discontinued project [pyCuT](https://github.com/ceccopierangiolieugenio/pyCuT) and inspired by a mix of [Qt5](https://www.riverbankcomputing.com/static/Docs/PyQt5/),[GTK](https://pygobject.readthedocs.io/en/latest/), and [tkinter](https://docs.python.org/3/library/tkinter.html) api definition with a touch of personal interpretation diff --git a/TermTk/TTkCore/filebuffer.py b/TermTk/TTkCore/filebuffer.py index f2375e4c..289168a5 100644 --- a/TermTk/TTkCore/filebuffer.py +++ b/TermTk/TTkCore/filebuffer.py @@ -127,7 +127,7 @@ class TTkFileBuffer(): return ret def createIndex(self): - TTkLog.debug(f"Start Indexing {self._filename}") + # TTkLog.debug(f"Start Indexing {self._filename}") indexes = [] lines = 0 offset = 0 diff --git a/TermTk/TTkCore/ttk.py b/TermTk/TTkCore/ttk.py index f84f0269..d3718e55 100644 --- a/TermTk/TTkCore/ttk.py +++ b/TermTk/TTkCore/ttk.py @@ -68,12 +68,14 @@ class TTk(TTkWidget): def mainloop(self): TTkLog.debug( "" ) - TTkLog.debug( "████████╗███████╗██████╗ ███╗ ███╗████████╗██╗ ██╗" ) - TTkLog.debug( "╚══██╔══╝██╔════╝██╔══██╗████╗ ████║╚══██╔══╝██║ ██╔╝" ) - TTkLog.debug( " ██║ █████╗ ██████╔╝██╔████╔██║ ██║ █████╔╝ " ) - TTkLog.debug( " ██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║ ██║ ██╔═██╗ " ) - TTkLog.debug( "py ██║ ███████╗██║ ██║██║ ╚═╝ ██║ ██║ ██║ ██╗" ) - TTkLog.debug( " ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝" ) + TTkLog.debug( " ████████╗ ████████╗ " ) + TTkLog.debug( " ╚══██╔══╝ ╚══██╔══╝ " ) + TTkLog.debug( " ██║ ▄▄ ▄ ▄▄ ▄▄▖▄▖ ██║ █ ▗▖ " ) + TTkLog.debug( " ▞▀▚ ▖▗ ██║ █▄▄█ █▀▘ █ █ █ ██║ █▟▘ " ) + TTkLog.debug( " ▙▄▞▐▄▟ ██║ ▀▄▄▖ █ █ ▝ █ ██║ █ ▀▄ " ) + TTkLog.debug( " ▌ ▐ ╚═╝ ╚═╝ " ) + TTkLog.debug( " ▚▄▄▘ " ) + TTkLog.debug( "" ) TTkLog.debug(f" Version: {TTkCfg.version}" ) TTkLog.debug( "" ) TTkLog.debug( "Starting Main Loop..." )