Skip to content

Executing code with py_cui yields no results on my terminal (cmd) on my windows 11 platform  #185

@aikia-code

Description

@aikia-code

Describe the bug
using py_cui on my environment doesn't work

referenced from jwlodek/py_cui_2048#4 (comment)

My issue is py_cui is not running in my terminal cmd. I tried the hello_py_cui example it just doesn't display as expected

image

I run the example in the terminal python experiments/cui.py

but it yields no display as it should in the terminal

image

To Reproduce
Steps to reproduce the behavior:

  1. Install py_cui lib
  2. 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()
  1. execute code

python <source_file>

  1. 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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions