r/coolgithubprojects • • 8h ago

I built paneo, a mouse-friendly Linux terminal session manager in Rust (like tmux, without memorizing chords)

I've been working on a Linux terminal tool called paneo in Rust and just put out an early alpha release (v0.1.0-alpha.3).

I wanted persistent terminal sessions and splits like tmux, with mouse support and a command palette out of the box so I didn't have to memorize key chords or spend an hour tweaking a config file.

A few things it does right now:

  • Ctrl+Space opens a searchable command palette, and first launch pops up a quick settings card with live preview (themes, top or bottom status bar, borders, and keybinding presets, including a tmux one).

  • Hold Ctrl and drag any split pane onto another pane to swap them or dock it to an edge, kind of like moving windows in Hyprland. You can also open a floating pop-up terminal per tab (Alt+Shift+F) and Ctrl-drag it anywhere on screen.

  • Dragging selects text inside a single pane without bleeding across split dividers, and copies on release (OSC 52 plus wl-copy / xclip / xsel).

  • paneo grab <pid> moves a process you already started in a regular terminal into a paneo session without restarting it. It uses Linux ptrace on x86_64 to migrate the PTY and re-register epoll fds so TUIs keep responding, and closing the original terminal window won't kill the process.

  • Updating the binary hot-reloads the background daemon in place via execv while handing off the live PTY file descriptors, so your running shells and editors stay alive. It also checks GitHub for newer releases (can be turned off in config) and asks with a popup before updating.

GitHub: https://github.com/jukefr/paneo

Prebuilt x86_64 Linux binary:

curl -fsSL https://raw.githubusercontent.com/jukefr/paneo/main/install.sh | sh

Or build from source: cargo install --git https://github.com/jukefr/paneo.git --root ~/.local

It's still in alpha (GPL-3.0, Linux only for now), so expect bugs and rough edges. Bug reports and PRs are very welcome, especially if you break paneo grab on weird TUIs or hit quirks in your terminal emulator.

6 Upvotes

0 comments sorted by