Skip to content

Lokyr 1.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 14:33
3197bfe

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 when can name one of a plugin's panels, as search.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-color and tabs.set-group-color take a color of three digits, such as #d14.
  • Kept in the Dock, Lokyr shows the icon that [app] icon names 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 = false in [plugins.automation].