fix: IRC SPA cleanup — /motd, /query, Firefox / key, default MOTD
All checks were successful
check / check (push) Successful in 6s

- Add default MOTD with figlet-style ASCII art for neoirc
- Add MOTD server command so /motd can be re-requested
- Add /motd client command to display message of the day
- Add /query command to open DM tabs with optional message
- Add /clear command to clear messages in current tab
- Fix Firefox quick search conflict: global keydown handler
  captures '/' and redirects focus to the input element
- Auto-focus input on SPA init and tab changes
- Show MOTD on resumed sessions (new sessions get it from
  server automatically during creation)
- Update /help with new commands
- Style MOTD on login screen for better ASCII art display
This commit is contained in:
user
2026-03-09 14:44:52 -07:00
parent f8f0b6afbb
commit a55127ff7c
4 changed files with 123 additions and 17 deletions

View File

@@ -70,14 +70,14 @@ body,
}
.login-box .motd {
color: var(--text-dim);
font-size: 12px;
color: var(--accent);
font-size: 11px;
margin-bottom: 20px;
text-align: left;
white-space: pre-wrap;
white-space: pre;
font-family: inherit;
border-left: 2px solid var(--border);
padding-left: 12px;
line-height: 1.2;
overflow-x: auto;
}
.login-box form {