tmux
Version, currently main branch1 version
- main branchlatestOct 31, 2026
github.com/ch1c0t/crystal.tmux
No description declared in shard.yml.
0 stars
1 dependent
License: not declared
Installation
# Add this to your shard.yml
dependencies:
tmux:
github: ch1c0t/crystal.tmux
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.20.3- Author
- Anatoly Chernov
- Target
crystal.tmuxfrom src/bin/crystal.tmux.cr
Dependencies
This version declares no dependencies.
README
Crystal Tmux API
The shard also exposes a top-level Tmux module with an object model inspired by libtmux:
require "tmux"
server = Tmux::Server.new
session = server.new_session("demo", detached: true)
window = session.active_window
pane = window.active_pane
pane.send_keys("echo hello")
sleep 0.1
puts pane.capture_pane.join("\n")
The core API covers server, session, window, and pane traversal; creating sessions and windows; splitting panes; sending keys; capturing pane output; self-location through tmux environment variables; and raw command execution.
Development
shards install
bundle exec rake
crystal spec
The API end-to-end spec starts a separate Tmux server using a unique socket.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Oct 31, 2026
- Crystal
>= 1.20.3- Indexed
- yes
Dependents
Repository
github.com/ch1c0t/crystal.tmux
Metadata
- Created
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Synced
- Nov 18, 2026
- Versions
- 1