feat: add REPL for plugins (#6120)

This can be enabled by setting the `.plugins.repl.enabled` setting to true


Close Chatterino and make a backup of your settings.json before attempting any modifications.
```json5
{
  "plugins": {
    "repl": {
      "enabled": true,
    },
  },
}
```
This commit is contained in:
nerix
2025-06-28 16:04:08 +02:00
committed by GitHub
parent 9e59fb1a5f
commit b6623cff88
16 changed files with 1000 additions and 18 deletions
+6 -1
View File
@@ -23,7 +23,7 @@ namespace chatterino {
class GeneralPageView;
class SettingWidget : QWidget
class SettingWidget : public QWidget
{
Q_OBJECT
@@ -66,6 +66,11 @@ public:
QStringSetting &setting,
const QString &placeholderText = {});
static SettingWidget *fontButton(const QString &label,
QStringSetting &familySetting,
std::function<QFont()> currentFont,
std::function<void(QFont)> onChange);
SettingWidget *setTooltip(QString tooltip);
SettingWidget *setDescription(const QString &text);