Repository navigation
Releases
Lokyr 1.6.0
Shortcuts and AppleScript drive Lokyr, the find bar filters a pane's lines, and one search covers every tab.
What's new since 1.5.0
- Shortcuts: the Shortcuts app has Lokyr's actions. They open a window or a tab in a folder with a command and environment variables, split a terminal, run a command line in it, send it text, keys or mouse events, focus or close it, and find terminals by their title or folder. They also show or hide the quick terminal, run any of Lokyr's commands or an entry of the palette, switch to a session, open a layout, and get a terminal's text or selection. Spotlight finds New Window and New Tab too.
- AppleScript: Lokyr's dictionary has its windows, tabs and terminals, each with its id, name and folder. Its commands create windows, tabs and splits, run a command line at the prompt, send text, press keys such as
"ctrl+c", focus, close, count and test them, and perform any of Lokyr's commands by its name. - You decide who controls Lokyr: before an app's first script or shortcut, Lokyr asks you whether to allow it, Don't Allow by default, and remembers your answer. A program in one of Lokyr's own terminals asks for that terminal alone, until its shell exits.
- The find bar's filter: a toggle that shows only the lines that match, new output's too as it comes, a blank line between their runs. Turn it off, or press Escape, and every line shows again, at the current match.
- Find in All Tabs, ⇧⌘F: a search of every pane of the session's windows, a row for each match with its line and its tab's title, the first 1000 in order. It shares the find bar's toggles of case, whole words and regular expressions, and Return brings the match's pane forward with the find bar there.
- Keys of a panel: a binding's
whencan name one of a plugin's panels, assearch.find-all.focused. - Plugins: the plugin API 0.1.8 reads the menu bar's items, opens a pane in a folder with environment variables, sends keys and mouse events to a pane, and shows a search's matching lines alone.
Changed
- The first window shows some 7 to 11 ms sooner at the start.
- A hidden session's windows give back part of their pictures' memory, some 10 MB a window on a Retina display, and draw themselves again just before they show.
- The command palette's magnifying glass sits nearer the panel's edge.
Fixed
tabs.set-colorandtabs.set-group-colortake a color of three digits, such as#d14.- Kept in the Dock, Lokyr shows the icon that
[app] iconnames after it quits too. - Lokyr's icon shows as itself in the system's lists of small icons, such as System Settings' privacy panes, where it showed as colored noise on a display of no scaling.
- The command palette lists the menu bar's items that take an argument, as Split Right and Select Pane Above, with their keys.
- A search that a resize or a change of the font's size interrupted finds every match.
Security
- A plugin opens 16 panes at most in one call, and 64 a second, by new tabs, splits, popups, windows and sessions together, so that one cannot start thousands of shells at once.
Before you update
- Plugins installed for 1.5.0 keep working: the plugin API is 0.1.8, which takes 0.1.7's plugins.
- Scripts and shortcuts work once you allow each app. To turn them off altogether, set
enabled = falsein[plugins.automation].
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.
Lokyr 1.4.0
Commands as blocks that you can select, copy and run again, scrolling that follows your fingers pixel by pixel, and controls that look like macOS 27's.
What's new since 1.3.0
- Blocks: turn on Blocks in the settings window's Plugins page, or with
[plugins.blocks] enabled = true. Each command and its output is then a block. While you scroll through a long output, the block's prompt and command line stay pinned at the pane's top, and a click on them goes to the prompt. A thin line divides the blocks, and the gutter's bar runs along each one. - Select a block: click it, or press ⌘↑ for the last one, then ↑ and ↓ to move. ⌘C copies its command and output, and Escape ends the selection.
- A block's menu: right-click a block and open Block to copy its command, its output or both, to select them, or to see Block Details: its exit status, when it started, how long it ran and its folder. Run Command Again types the command at the prompt and runs it.
- Smooth scrolling: set
[window] smooth-scroll = true, and the text follows your fingers on a trackpad or a Magic Mouse pixel by pixel, at every refresh of the display, and keeps gliding as you lift them. A mouse wheel's step glides, and the scroll bar's knob moves the text by pixels. - The status bar has three sides, start, center and end, each plugin's view at its own width.
- Controls as macOS 27's: on-or-off settings are switches, menus of values are pop-up buttons, and the Settings, Keys and Plugins pages show their rows in rounded groups. Shortcuts show as key caps, problems as callouts, and search fields as capsules. Buttons have macOS's sizes, and a dialog's main button is filled with the accent.
- New plugins in the registry:
sephiroth74/open-in-editoropens a pane's scrollback, or a command's output, in your text editor, its long lines whole.sephiroth74/git-foldershows the focused pane's folder and its git branch in the status bar.sephiroth74/snap0.3.0 makes an image of a command and its output too. Install them withsleip add, or from the settings window's Plugins page. - Plugins: a plugin can stand in for another, such as a tab bar of its own in place of Lokyr's. The plugin API 0.1.6 draws the commands' blocks, selects them, reads the command line and runs a command at the prompt. It also writes temporary files, reads a folder's git branch and a range of rows, and tells the time of day. Plugins can draw macOS 27's controls too.
Changed
- The pane's context menu is shorter: splitting, moving and closing the pane are in its Pane submenu.
- Buttons, toggles, fields and segmented controls are 24 points high, as macOS's, with rounder corners, and a disabled control dims whole.
- The Settings page's on-or-off keys are switches, and its menus of values are pop-up buttons, which open over the button with the value ticked.
Fixed
- Show Hints labels the links and paths of a long line of no spaces, such as minified JSON wrapped over more rows than the pane shows.
- A text field that has the keyboard, such as the find bar's, leaves ⌥⌘ and an arrow, and ⇧⌘C, to Lokyr.
- In zsh, with a plugin that switches the history as you type, the command's header no longer shows the right prompt.
- A program that prints the shell's mark of a command's start, such as
catof a file that holds one, no longer changes the command's header nor its marks. - A plugin that starts while the view stays still sees the view at once.
- A Luau plugin that hands back an empty list hands back a list, not an empty map.
Before you update
- Plugins installed for 1.3.0 keep working: the plugin API is 0.1.6, which takes 0.1.5's plugins.
- Blocks and smooth scrolling are off by default. Blocks take the command header's place while they run: move what you set in
[plugins.command-header]to[plugins.blocks]to keep the header's look.
Lokyr 1.3.0
Programs that tell you what they're doing, a click that moves the shell's cursor, and tabs that keep up: pinned, grouped, reopened and stepped through in the order you used them; hints to open what's on the screen without the mouse.
What's new since 1.2.0
- Programs' status on their tabs: a program that tells its state with OSC 7501 shows it on its tab exactly: at work, waiting for you, of what it asks for, done, or failed. A program's status of its session, OSC 21337, shows as a dot of its color, its text in the tab's tooltip. Desktop notifications of OSC 99 show as those of OSC 9 and 777 do.
- A click in the command line moves the shell's cursor there, as in a text field, in zsh, bash and fish with Lokyr's shell integration, and in any shell that announces it. Backspace, Delete or a typed character over a selection of the command line takes its place.
[cursor] click-to-moveturns both off. - ⌃Tab shows the tab you used before: keep Control down and press Tab again to go further back. ⌃⇧Tab goes the other way.
[plugins.tabs] control-tab = "order"keeps the bar's order. - Pinned tabs: right-click a tab and choose Pin Tab. It stays at the start of the bar, narrow, and ⌘W doesn't close it.
- Tab groups: right-click a tab and choose New Group with Tab to gather tabs under a name and a color. Click the group's pill to fold it; drag tabs in and out of it. Restored windows keep their pins and groups.
- Reopen a closed tab: Shell › Reopen Closed Tab, ⇧⌘T, brings back the tab you closed last, as you left it, for 10 seconds after you close it.
[plugins.tabs] reopen-secondssets the time. - Hints: press ⇧⌘E to label every URL, path, git hash and IP address on the screen, then type a label to open it, or a capital to copy it. Add your own patterns, such as a ticket's number to its page, in the settings window's Links › Hints.
- The quick terminal from a double tap: set
[plugins.quick-terminal] double-tapto a modifier, then press it twice quickly, alone, from any app. - Use Transparency: press ⌘U to show a translucent window opaque while you read, and again to see through it.
- Text fields have a context menu of Cut, Copy, Paste and Select All, and take macOS's Control-T, Control-P, Control-N and Control-Y.
- The settings link each key's topic in the documentation, beside its More info.
- Plugins: the plugin API 0.1.5 reads the tabs in the order they were used, pins, groups and reopens tabs, reads a program's status and what a waiting agent asks for, labels a decoration, and hears a modifier's double tap.
Changed
- ⌃Tab and ⌃⇧Tab follow the order you used the tabs in. ⇧⌘] and ⇧⌘[ still follow the bar.
- An agent's notification tells its own message, or what it asks for while it waits.
- The scroll indicator of a list shows while you scroll it and fades a moment after, as macOS's scroll bars do.
- The settings window's sidebar is wider, its search field and its sections lined up.
Fixed
- The text fields take their editing keys before Lokyr's shortcuts: Shift-Command-← selects to the field's start, and Command-↑ moves the caret.
- A command's mark in the gutter shows on its prompt's first line of text, not on an empty line that a prompt theme prints first.
- A tab's context menu waits for a click on an item, rather than running the one under the pointer.
- The blinking cursor no longer shows the character of another cell for a moment after a quick move.
- A plugin whose command fails while you answer its earlier question can ask you again.
Before you update
- Plugins installed for 1.2.0 keep working: the plugin API is 0.1.5, which takes 0.1.4's plugins.
- The first time you set a modifier's double tap, macOS asks you to allow Lokyr in System Settings › Privacy & Security › Input Monitoring. Lokyr reads the modifiers alone, never what you type.
Lokyr 1.2.0
Themes made in Lokyr: a Theme Editor of every color of a theme, its values edited of a field or of the system's color panel and written into the theme's file, its comments kept; themes made, duplicated, converted and imported in the app; and the settings' Keys page.
What's new since 1.1.0
- The Theme Editor: on the settings window's Themes page, the Editor shows every color of a theme, the terminal's and the interface's by groups, each of its value and where it comes from: the theme's file and its line, a theme that it extends, or a rule. A click on a color opens a field of its value, a color, or for an interface color an expression of other colors, as
accent / 40%, written into the theme's file as you pause or press Return; a click on its swatch opens the system's color panel, the eyedropper too, the color showing at once as you move. Reset puts a color back as it was when the Editor showed the theme. - Previews of the theme edited: beside the colors, a window of the theme, its tab bar, a scroll bar, a second pane and a terminal of every combination that it colors, and a plugin's panel of real controls, fields, toggles, a segmented control, a list, progresses and buttons, which take the pointer. A click on a part marks the colors that it takes, and a color's click the parts that take it. Your terminals keep their theme while the Editor shows another, and follow your edits of the theme that they use.
- Themes made in the app: New… on the Themes page makes a theme of Lokyr's own light or dark values, every key written; Duplicate… in a card's menu copies a theme; View › New Theme from Current… copies the theme in use; View › Import Themes… imports
.itermcolorsand.tomlthemes, several at once. A theme of the collection or a built-in one is read-only in the Editor, whose lock makes a copy of it; an.itermcolorstheme is converted to Lokyr's format as you edit it, its original moved to the Trash. - The interface's colors follow the theme: a theme's accent colors the focus ring, the selected rows, the toggles, the progress and the gutter of running commands, and its text the fainter texts, unless it gives them too; a color can be an expression of others, as
mix(background, foreground, 8%). A theme of the terminal's colors alone looks as it did. - A light theme for both appearances: a click on a theme of the appearance not in force asks whether to use it for its appearance alone or for both.
- The cursor guide, a band across the cursor's row, as iTerm2's: View › Show Cursor Guide, ⌥⌘;, or
[cursor] guide. - Faint text of its own opacity,
[text] faint-opacity, and an HDR cursor, brighter than white on a display of extended dynamic range,[cursor] hdr, off by default. - The Keys page: the settings' shortcuts on a page of their own, of a field that filters them by their commands, their keys or their contexts.
- Window › Cycle Through Windows, ⌘
, and ⇧⌘the other way, the settings window among them. - Plugins: the plugin API 0.1.4 reads every color of a theme as it resolves, shows the system's color panel, asks a question of buttons, and draws a part of a view in a theme of a name.
Changed
- The settings window has a theme of its own, Lokyr Light or Lokyr Dark by the appearance, whatever theme your terminals use.
- What a theme colors nothing with no longer refuses it: a value that does not read, a name of no color or colors that name each other are told in the card, of their line, the rest of the theme in force.
- A plugin's question names the plugin in its alert, unless it is one of Lokyr's own, and a plugin asks one question at a time.
- The settings window draws anew faster, the Keys page above all, and Lokyr starts a little sooner.
Fixed
- A saved theme that changes the interface's colors alone colors the tab bar, the panels and the settings window at once.
- A block cursor on the cursor guide's row keeps its own color.
- A resize no longer clears a running command's output of a shell whose prompt marks its start alone.
- A pane that takes the keyboard, as Go to Next Agent brings it forward, ends its tab's zoom of another.
- A right click or a ⌘-click on a path of a volume that does not answer, as a network's, no longer holds Lokyr.
- A binding of a character that the US layout types with Shift, as
cmd+}, runs as its keys are pressed and takes the place of a default of them; two entries of the same keys written two ways read, the later holding, where the whole config was refused. sleip checkrefuses a plugin's config schema larger than 64 KiB, the most that Lokyr reads of one.
Before you update
- Plugins installed for 1.1.0 keep working: the plugin API is 0.1.4, which takes 0.1.3's plugins.
- Your settings window now shows Lokyr's own colors rather than your theme's.
Lokyr 1.1.0
Lokyr's settings, in a window of their own: every key of the config, the keys' bindings, the themes and the plugins, changed without editing a file, the config file staying yours, its comments kept.
What's new since 1.0.0
- The settings window: Lokyr › Open Settings Window, or the command palette, opens the settings in a window of their own, of the size of System Settings', its pages as tabs across the top: Settings, Themes and Plugins. Settings…, ⌘,, still opens your config file.
- Every key of the config: the Settings page lists every key of the config and of the bundled plugins' sections, by section in a sidebar, each of what it does, its value and a More info link to its text in the config guide. A toggle, a menu or a field changes a key at once, written into your
config.tomlas typing pauses, its comments kept; Reset takes a key back to its default, and a value that a key does not take says why. A search field finds the keys, the sections and the bindings by their words. - Fonts, previewed: a font's family and its styles are picked from menus of the system's fonts, the panes showing each one as its item rests highlighted, until the menu closes; a family chosen comments out the styles of your config that it lacks.
- Your shortcuts: the Keys part lists every binding, Lokyr's defaults and yours, by category. A click on a binding's keys records the shortcut that you press next; Remove and Restore take a default away and give it back; Add records a new shortcut and offers every command by category. A shortcut that another binding takes says which, and macOS's own, as ⌘Q, stay as they are.
- Themes, at a glance: the Themes page shows every theme, the built-in ones, the collection's and yours, as a sample terminal in its colors, the light and the dark ones apart; a click uses one for its appearance.
- Plugins, without the command line: Lokyr › Plugins… lists every plugin, with its state and its capabilities, to disable, enable, update or remove; and the registry's plugins, to install without restarting.
- View › Open Themes Folder opens the folder of your own themes in the Finder, making it first if it is not there.
- Plugins: the plugin API 0.1.3 lets a plugin show a notice in Lokyr's card, of an icon of its level, as info, success, warning or error, and show a theme's preview in its views.
Changed
- The config's texts have bounds: a name, as a font's family or a theme's, 256 characters at most, a path or an address 1024; a longer one is an error at its line.
Fixed
- With the tab bar out of the titlebar and two tabs or more, the window's title stands centred and no longer lies over the plugins' buttons beside the window's buttons.
- A single tab's title in the titlebar is the window's title, in the system title's look, and dims as the window loses the focus.
- Choosing in a font picker the family that the config names already, after previewing another, shows it again.
- A file of the themes' folder that is no regular file, or of more than 1 MiB, or an
.itermcolorsfile whose property list nests or repeats its values past what a color preset holds, is refused as a theme that does not read, where it could hold Lokyr or make it quit.
Before you update
- Plugins installed for 1.0.0 keep working: the plugin API is 0.1.3, which takes 0.1.2's plugins.
Lokyr 1.0.0
The first public release. Lokyr's source is open, under the MIT License, at github.com/sephiroth74/lokyr, and lokyr.dev documents it. Lokyr installs from this disk image, or with Homebrew, brew install --cask sephiroth74/tap/lokyr, and updates itself.
What's new since 0.9.0
- AI agents on their tabs: a tab running Claude Code, Codex, Gemini CLI, Aider or another agent that
[agents] programslists shows whether the agent works, waits for you, or is done with what you asked. What it asked shows in the tab's tooltip, as "Claude needs your permission to use Bash", and in a tab of several panes a ring goes round the pane that waits. - Agents that wait for you: a notification tells when an agent waits or is done while its window has no focus, and the Dock's icon counts the agents that wait. Window › Go to Next Agent, ⌥⌘A, brings the next one forward, across every window; Window › Show Agents…, ⇧⌥⌘A, lists them all in the palette, the most urgent first.
- Claude Code's integration: Lokyr › Install Claude Code Integration… adds hooks to Claude Code's settings, asking of each of its configurations and keeping a copy of the file, so that Claude Code tells its tab exactly when it works, waits for you, is done, or stops on an error.
- A path opened at its line: ⌘-click on a path's line, as
src/main.rs:42:7that compilers, tests and agents print, opens the file at that line in the editor that[links] editornames: VS Code, Cursor, Windsurf, Zed, Sublime Text, TextMate or an address of your own. - A command's output: Edit › Copy Command Output, ⌥⇧⌘C, and Select Command Output, ⇧⌘A, copy or select the output of the last command, or, from the pane's context menu, of the command under the pointer, without its prompt and its command line.
- Inline images: programs show pictures in the terminal, as
imgcatsends them, of iTerm2's protocol, and askitten icat,chafa,timgand file managers' previews send them, of kitty's graphics protocol; the images scroll with their lines and stay within 64 MiB of memory, as[terminal] image-memorysays. - Homebrew:
brew install --cask sephiroth74/tap/lokyrinstalls Lokyr and linkslokyrandsleip, leaving the updates to Lokyr's own. - Plugins: the plugin API 0.1.2 lets a plugin list the agents of every window and open a file at a line in the editor.
- About Lokyr links to lokyr.dev.
Changed
- The icon's variant that
[app] iconchooses stays in the Dock after Lokyr quits. - A click on a notification, a program's, an agent's or a long command's, brings forward the pane that sent it, with its tab and its window.
Fixed
- A tab no longer keeps the title of a program that ended, as the remote shell's after you leave
ssh: the title from before comes back, unless your shell sets its own at its prompt. - An agent that a shell starts with
execno longer misses its first request for you. sleip addtells a plugin kept at the version thatplugins.lockholds, and thatsleip updateof it takes a newer one, rather than failing of an older Lokyr's version.sleip infono longer counts a yanked version when it tells that this Lokyr takes none of a plugin's versions.sleip devchecks again a plugin saved while it was linking it.
Before you update
- Plugins installed for 0.9.0 keep working: the plugin API is 0.1.2, which takes 0.1.1's plugins.
- From 1.0.0, Lokyr's versions follow semantic versioning.