1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00
Files
weechat/po
Sébastien Helleu 266d05ac66 core: add theme name completion
Add two completion items hooked alongside "layouts_names":

- "theme_themes_all": all theme names (built-ins from the registry
  plus every *.theme file in <weechat_config_dir>/themes/, including
  backup-*.theme). Used by tab-complete on /theme apply and
  /theme info.
- "theme_themes_user": user theme files only (excludes built-ins
  and backup-*.theme). Used by tab-complete on /theme save and
  /theme del, so users cannot accidentally try to overwrite a
  built-in name or save a name colliding with the reserved backup
  prefix.

Both callbacks share a small dir_exec_on_files-based helper to filter
the themes directory. The /theme command's completion template in
core-command.c is updated to reference these new items.
2026-07-05 00:45:59 +02:00
..
2026-03-08 10:37:15 +01:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00
2026-07-05 00:45:59 +02:00