a terminal client for Lurker, written in Rust


on this page

config.lua

config.lua is the file luir loads. It requires the others and returns the table they make up, as the overview describes. The one section small enough to be written inline here is behavior.

behavior = {
  mark_read_on_view = true,
  history_limit     = 200,
  scrollback_cap    = 5000,
  auto_open_dms     = true,
  send_typing       = true,
  show_typing       = true,
  completion_suffix = ": ",
  whois_to          = "active",
},

behavior

mark_read_on_view boolean, default true

Mark a buffer read as soon as it is shown. Read state lives on the server, so this clears the unread count everywhere, the web UI included.

history_limit integer, default 200

How many events to fetch at a time when you scroll back past what is loaded.

scrollback_cap integer, default 5000

The most events kept in memory for any one buffer. The history itself stays on the server.

auto_open_dms boolean, default true

Switch to the buffer that /msg opens. A direct message someone else starts never takes focus, whatever this is set to.

send_typing boolean, default true

Tell the people you are talking to when you are typing.

show_typing boolean, default true

Listen for other people's typing notices, which the {typing} field in the status bar shows. false ignores them altogether.

completion_suffix string, default ": "

Added after a nick completed with tab at the start of a line, so sy then tab gives synmuffin: . Completing a nick anywhere else adds nothing.

whois_to string, default "active"

Where the reply to a /whois is drawn.

Value Goes to
"active" Whichever buffer you are looking at when it arrives
"server" The network's server buffer
any other name That buffer, which collects every whois, matched the way /buffer matches names

The raw numerics still go to the server buffer whatever this says. They are part of the raw server feed, not of the reply this places.