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
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
How many events to fetch at a time when you scroll back past what is loaded.
- scrollback_cap
The most events kept in memory for any one buffer. The history itself stays on the server.
- auto_open_dms
Switch to the buffer that
/msgopens. A direct message someone else starts never takes focus, whatever this is set to.- send_typing
Tell the people you are talking to when you are typing.
- show_typing
Listen for other people's typing notices, which the
{typing}field in the status bar shows.falseignores them altogether.- completion_suffix
Added after a nick completed with
tabat the start of a line, sosythentabgivessynmuffin:. Completing a nick anywhere else adds nothing.- whois_to
Where the reply to a
/whoisis 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 /buffermatches namesThe 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.
