You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up pytermwm's MCP server in LM Studio and other MCP clients, with a debugging checklist
(docs/api.md).
Changed
Background effects are much cheaper: at most 20 frames per second, far less redrawn per frame, and every frame is
sent as one synchronized update. On a 200x55 screen matrix went from 37% to 7% CPU and plasma from 262% to 11%.
new-window -- PROG ARG... (and pytermwm run -- PROG ARG...) starts the program directly with exactly these
arguments instead of through the shell. A single argument is still a shell command line.
Fixed
While a background effect runs, the screen is no longer redrawn as fast as possible, and the cursor is no longer
hidden and shown again on every frame (it looked like very fast blinking and made windows lag).
MCP tools report "no pytermwm session ... is running" (and how to start it) instead of an internal error.
Running pytermwm (or python ptw.py) inside a pytermwm window no longer attaches the session to itself and
crashes the window manager: it is refused with a hint. Attaching to another session from inside needs --nested.
Windows: programs in a window wrote to pytermwm's own redirected output (the daemon's log file) instead of
the window.
Windows: pytermwm run -- python ... failed in PowerShell, the default shell.
The status line could disappear after reattaching until the terminal was resized.
In the command palette, effect none ran effect list instead of stopping the background effect.
An inactive window no longer shows the bell sign ␇ when its prompt only sets the window title, or the
activity dot ● when its shell redraws the prompt after a resize.
This discussion was created from the release pytermwm v1.0.1.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Added
pip install pytermwm: pytermwm is now published on PyPI. Thepytermwmandptwcommands are installed with it.nes(Famicom red, gold and cream),matrix(green phosphor) anddos(gray on black,C:\>).screenshot [FILE.svg|.ans|.txt]saves the whole screen as an SVG picture, ANSI art or plain text.record-screen [FILE.cast]/record-screen-stoprecord the whole screen (all windows, borders and the statusline) as asciicast v2.
redraw(C-b C-l) repaints every attached terminal from scratch.scripts/make_media.pygenerates the README screenshots and demo recording from a scripted session.CONTRIBUTING.md: how to report bugs, run the tests and send pull requests.fps=Nfor background effects (1-60, default 20):effect matrix fps=15,effect: {name: plasma, fps: 10}.(docs/api.md).
Changed
sent as one synchronized update. On a 200x55 screen
matrixwent from 37% to 7% CPU andplasmafrom 262% to 11%.new-window -- PROG ARG...(andpytermwm run -- PROG ARG...) starts the program directly with exactly thesearguments instead of through the shell. A single argument is still a shell command line.
Fixed
hidden and shown again on every frame (it looked like very fast blinking and made windows lag).
pytermwm(orpython ptw.py) inside a pytermwm window no longer attaches the session to itself andcrashes the window manager: it is refused with a hint. Attaching to another session from inside needs
--nested.the window.
pytermwm run -- python ...failed in PowerShell, the default shell.effect noneraneffect listinstead of stopping the background effect.␇when its prompt only sets the window title, or theactivity dot
●when its shell redraws the prompt after a resize.This discussion was created from the release pytermwm v1.0.1.
All reactions