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
The https://github.com/tmux-python/libtmux-mcp/pull/63/changes#top implements capture_since, which would be a fantastic addition to this library alongside capture_pane. In particular, it should just involve implementing a cursor class, which notes internally the pane it is associated to. Then the function capture_since, which returns the text from the given cursor to the end, along with a new cursor representing the new end. capture_since could even be a method of that cursor class, but I'd push for a functional interface, where calling it doesn't modify the cursor.
Activity
tony commentedon Aug 15, 2026
Agreed that it makes sense to port back to libtmux.
Have no opinion on how its implemented. Will give the one you suggest above a go.
libtmux-mcp and its' tools are becoming an accidental incubator for libtmux.
Pane(feat[capture_since]): Add cursor-based incremental capture