Float mode: overlay a pane on the origin session as a felis run transient #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a float mode: felis-tui launched as a felis
runtransient shows the origin session live in the background and afloating pane on top, like tmux
display-popup.Intended use is a keymap binding such as:
felis already supplies what the launch needs: the transient's environment carries
FELIS_ORIGIN_SESSION_IDandFELIS_HOST, and the transient's exit returns the window to the origin with its viewport restored. Because thebackground is a live
ShadowScreenmirror and the float is an ordinary daemon session, neither needs a felis-sidechange, and the "never re-parse a PTY byte stream" non-goal holds.
Work
compositor.rsandlayout.rsassume non-overlapping tiles; a float needs az-ordered rect painted over a full-host background pane.
$FELIS_ORIGIN_SESSION_ID(over$FELIS_HOSTwhen set), spawn thefloat session running
<cmd>, and exit when the float session ends. This bypasses the current "first panere-attaches a parked session" path.
re-emit background placements with a z-index below
-1073741824(drawn under non-default-background cells) andalways paint float cells with a non-default background. Unverified.
docs/non-goals.mdlimits felis-tui to environments without a first-class WM; float is useful inside thefelis GUI too, so that paragraph needs to admit the transient-overlay use.