MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _setSubtabActive

Function _setSubtabActive

web/scripts/ragnar_modern.js:1190–1197  ·  view source on GitHub ↗
(btn, active)

Source from the content-addressed store, hash-verified

1188 addConsoleMessage('Failed to toggle terminal: ' + err.message, 'error');
1189 cb.checked = !cb.checked;
1190 localStorage.setItem(TERMINAL_KEY, cb.checked ? '1' : '0');
1191 applyTerminalVisibility();
1192 });
1193 if (cb.checked) showTab('terminal'); else _termTeardown();
1194}
1195
1196function _sendTermResize() {
1197 if (_term && _termSocket && _termSocket.connected) {
1198 _termSocket.emit('terminal_resize', { rows: _term.rows, cols: _term.cols });
1199 }
1200}

Callers 3

_setRusenseActiveFunction · 0.70
showNetworkSubtabFunction · 0.70
showDiscoveredSubtabFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected