🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

py-menu-tui

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

py-menu-tui - pypi Package Compare versions

Comparing version
0.2.9
to
0.2.10
+1
-1
PKG-INFO
Metadata-Version: 2.4
Name: py_menu_tui
Version: 0.2.9
Version: 0.2.10
Summary: This project implements a keyboard-controlled text user interface (TUI) for the terminal that allows users to navigate menus and nested subsections using simple key inputs (w, s, Enter, Esc). It provides a lightweight framework for building interactive CLI applications with features like menu navigation, subsections, progress bars, and confirmation prompts.

@@ -5,0 +5,0 @@ License-Expression: MIT

@@ -102,2 +102,10 @@ import os

try:
if len(_list)<len(self.list):
for i in range(len(self.list)-len(_list)):
_list.append("")
if self.search_subsection(title):
sec=self.search_subsection(title)
for i in range(len(sec.list)-len(_list)):
_list.append("")
os.system("cls")

@@ -217,2 +225,3 @@ for i in self.path:

def progressbar(progress: int, width: int = 30):

@@ -234,4 +243,11 @@ filled = int(width * progress / 100)

return False
def test3():
pass
def test2():
ui.add_sub_section(["test3"], [test3], "audio","settings")
def test1():
ui.add_sub_section(["test2"],[test2],"settings")
ui=UserInterface()
ui.setup(["test1"],[test1])
ui.begin()

@@ -5,3 +5,3 @@ [build-system]

[project]
version="0.2.9"
version="0.2.10"
name="py_menu_tui"

@@ -8,0 +8,0 @@ dependencies=[]