-
Notifications
You must be signed in to change notification settings - Fork 47
Executing code with py_cui yields no results on my terminal (cmd) on my windows 11 platform #185
Copy link
Copy link
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
using py_cui on my environment doesn't work
referenced from jwlodek/py_cui_2048#4 (comment)
My issue is
py_cuiis not running in my terminalcmd. I tried the hello_py_cui example it just doesn't display as expectedI run the example in the terminal
python experiments/cui.pybut it yields no display as it should in the terminal
To Reproduce
Steps to reproduce the behavior:
- Install py_cui lib
- load up hello world example
"""The most basic possible use case for py_cui
@author: Jakub Wlodek
@created: 12-Aug-2019
"""
# Import the lib
import py_cui
# create the CUI object. Will have a 3 by 3 grid with indexes from 0,0 to 2,2
root = py_cui.PyCUI(3, 3)
# Add a label to the center of the CUI in the 1,1 grid position
root.add_label("Hello py_cui!!!", 1, 1)
# Start/Render the CUI
root.start()- execute code
python <source_file>
- produces no display
Expected behavior
a cui display with the label "Hello py_cui!!!"
Screenshots
Environment
- OS: [Windows 11]
- Terminal: [cmd]
- Version: [v0.1.6]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working

