Skip to content

Add commands :set and :reload#578

Draft
VAWVAW wants to merge 7 commits intoulyssa:mainfrom
VAWVAW:set-command
Draft

Add commands :set and :reload#578
VAWVAW wants to merge 7 commits intoulyssa:mainfrom
VAWVAW:set-command

Conversation

@VAWVAW
Copy link
Copy Markdown
Contributor

@VAWVAW VAWVAW commented Feb 25, 2026

Allow the config to be reloaded and specific settings to be changed at runtime.

Most config values under settings are changeable and dirs.downloads is updated on :reload.

todo:

  • state_event_display
  • mouse
    • this option is not documented btw
    • need to modify the panic hook
  • notifications
    • probably need global state to save the settings
  • image_preview
  • users
    • how do we express this as a :set option?
  • sort
    • probably like :set sort.rooms = name,alias
  • improve completions and argument parsing
  • add tests

Macros should be added in a followup that adds a :map command.

fixes #505
supersedes #510

@VAWVAW VAWVAW mentioned this pull request Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Hot Reload Config

1 participant