glad-web 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/web/index.html +5 -5
- package/package.json +1 -1
package/lib/web/index.html
CHANGED
|
@@ -835,9 +835,9 @@
|
|
|
835
835
|
if (!actionBtn) return;
|
|
836
836
|
|
|
837
837
|
if (toolKey === 'codex') {
|
|
838
|
-
actionBtn.dataset.key = 'codex-
|
|
839
|
-
actionBtn.textContent = '/
|
|
840
|
-
actionBtn.title = 'Send /
|
|
838
|
+
actionBtn.dataset.key = 'codex-perm';
|
|
839
|
+
actionBtn.textContent = '/perm';
|
|
840
|
+
actionBtn.title = 'Send /perm';
|
|
841
841
|
return;
|
|
842
842
|
}
|
|
843
843
|
|
|
@@ -1139,8 +1139,8 @@
|
|
|
1139
1139
|
const keyBtn = e.target.closest('.key-btn'); if (!keyBtn) return;
|
|
1140
1140
|
const key = keyBtn.dataset.key;
|
|
1141
1141
|
if (key === 'ctrl') { modifiers[key] = !modifiers[key]; keyBtn.classList.toggle('active', modifiers[key]); return; }
|
|
1142
|
-
if (key === 'codex-
|
|
1143
|
-
sendWS('/
|
|
1142
|
+
if (key === 'codex-perm') {
|
|
1143
|
+
sendWS('/perm');
|
|
1144
1144
|
setTimeout(() => { sendWS('\r'); }, 1000);
|
|
1145
1145
|
return;
|
|
1146
1146
|
}
|