pytermgui
pytermgui copied to clipboard
[HOWTO] How can I use the terminal widget?
trafficstars
I want to create an environment like the Twin Terminal Window Manager for that I must understand how to use the terminal widget, I'm trying to spawn it with:
from pytermgui import WindowManager, Window, Terminal, widgets
manager = WindowManager()
terminal = widgets.Widget.terminal
window = (terminal)
manager.add(terminal)
manager.run()
however unfortunately that just gives me the AttributeError: 'property' object has no attribute 'manager' error. Can you please explain step by step what I'm doing wrong?