Files
LLeMbas-TTY/llembas/lua/default-config.lua
T
HomerandClaude Fable 5.2 593df939b9
llembas-term / linux (push) Canceled after 0s
LLeMbas TTY is LLeMbas TERM: the names, what is carried over, three keys, and the keys LLeMbas IDE has too
The rename. Commands llembas-term, -gui, -mux-server, -setup; package llembas-term
(Replaces, Conflicts and Provides llembas-tty, so installing it removes the old one);
directories llembas-term; application id eu.llembas.term; the variables a pane sees
LLEMBAS_TERM…; the status record llembas-term-status=1, the input mark
llembas-term-input=1, the user variable llembas_term_status; the shell integration
llembas-term.sh; the workflow llembas-term.yml; every changed upstream block is marked
"LLeMbas TERM:". The terminal needs the engine's terminal contract 4 and says so in
words with an older CLI.

Carried over from the earlier name: the variables LLEMBAS_TTY… of a terminal that
started this one are dropped; a configuration file of the old name is read where it
is while there is none of the new, with a warning; command-history and
settings-chosen are copied once into a data directory that does not exist yet
(llembas-line::migrate); the set-up program prints the new line for an rc file that
has the old one.

Keys. Ctrl+Tab on the ask line switches the mode (the next tab anywhere else);
Ctrl+Shift+M and Ctrl+Alt+M open the lists of chat and autocomplete models, also
over the ask line, which then says the choice. In a pane where LLeMbas IDE says it
is in front (user variable llembas_ide=1) the chords both have are sent on to it as
the keyboard protocol's bytes and the terminal does nothing of its own; the
terminal's palette is also on Ctrl+Shift+Alt+P. The built-in configuration honours
the kitty keyboard protocol for a program that asks for it.

CI: the .deb is installed over the released llembas-tty 1.0.0-beta.5; keys are
pressed in a real window on Xvfb (not a gate).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:26:37 +00:00

15 lines
786 B
Lua

-- LLeMbas TERM: the configuration used when the person has none of their own
-- ($XDG_CONFIG_HOME/llembas-term/llembas-term.lua or ~/.llembas-term.lua).
-- It is the terminal's defaults with the LLeMbas layer applied. A person's
-- own file starts from the same four lines.
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- A quiet window: no tab bar while there is one tab, and when there are more a plain line of
-- text at the bottom rather than a strip built into the window's frame. Tabs are opened, closed
-- and walked by keys (CTRL+SHIFT+T, CTRL+SHIFT+W, CTRL+TAB) whether the bar shows or not.
config.hide_tab_bar_if_only_one_tab = true
config.use_fancy_tab_bar = false
config.tab_bar_at_bottom = true
require('llembas').apply(config)
return config