Repository navigation
Lokyr 1.5.0
Sessions that keep your windows apart, input broadcast to every pane, panes that float over the others, and the scrollback kept when you quit.
What's new since 1.4.0
- Sessions: Window › Sessions › New Session opens a group of windows of its own and hides your other windows, whose programs keep running. Switch to Last Session, ⌃⌘L, brings back the one you used before, its windows where you left them. Each session numbers its own windows, and its name shows in their titlebars. Sessions come back with your windows when Lokyr starts.
- Switch Session…, ⌃⌘S, lists your sessions, your layouts and your folders: those that
[sessions] foldersnames, such as["~/src/*"], and the last ones where your shells worked. A folder opens a session there, or switches to the one opened there already. - Layouts: Save Session as Layout… writes a session's windows, tabs, splits and folders to
~/.config/lokyr/layouts/, and the switcher opens a layout as a new session. A pane'scommandin the file runs as its shell starts. - Broadcast Input: Shell › Broadcast Input sends what you type to every pane of the tab, ⌥⌘I, or of the window, ⇧⌥⌘I: your keys, an input method's text and your pastes. A red ring marks each pane that takes it, a megaphone marks the tab, and a pane's context menu leaves it out or takes it back.
- Floating panes: Shell › New Floating Pane, ⇧⌥⌘F, opens a pane over the tab's panes, which you move by its title and resize by its edges. Show or Hide Floating Panes, ⌥⌘F, hides them together, and a pane's context menu floats a pane or moves it back into the splits.
- Popups: bind a key to
pane.popupwith acommand, such aslazygit, and it runs in a floating pane in the middle of the tab, closing when the command ends well, or staying open with how it ended when it fails. - The scrollback kept: with
[app] restore-scrollback = true, the panes that open again with your windows show what they showed when you quit, their colors, links and commands' marks too, then a new shell. It's off by default. - Plugins: the plugin API 0.1.7 reads and switches sessions, broadcasts a window's input, opens popups and reads a tab's floating panes.
Changed
- When a pane's program ends with an error, the pane's line says that a key closes the pane, rather than the window.
- The Shell menu gathers the splits into a Split submenu and the panes' other commands into a Pane submenu, and sets the tab groups' commands apart from the tabs'.
- In the settings window, a key at its default shows no Reset link, the Theme Editor's Reset shows once you change a color, a key's links line up with its description, and the sidebar lists Lokyr's own sections before your plugins'.
Fixed
- Quitting with more than 100 windows or 256 panes no longer loses every window at the next start.
Security
- A plugin that runs Lokyr's own commands needs the capabilities of what they do, such as
workspace-writeto open or close windows, tabs and panes; the commands of the system and the integrations run ofuser-commandsalone.
Before you update
- Plugins installed for 1.4.0 keep working: the plugin API is 0.1.7, which takes 0.1.6's plugins. A plugin that runs Lokyr's own commands needs their capabilities in its manifest now, as Security tells.
- Restoring the scrollback is off by default: turn it on with
[app] restore-scrollback = true.