This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
async function loadFeatures(){
|
||||
const fallback = [
|
||||
["Terminal", "VT-style surface, tabs, split panes, Unicode"],
|
||||
["Connections", "Local shell, SSH, Telnet, Serial profile model"],
|
||||
["UX", "Command palette, shortcuts, quake window, restored sessions"],
|
||||
["Footprint", "Rust core + Tauri shell instead of Electron"]
|
||||
];
|
||||
let rows = fallback;
|
||||
try {
|
||||
const { invoke } = window.__TAURI__.core;
|
||||
rows = (await invoke('workspace_summary')).map(x => [x.feature, x.detail]);
|
||||
} catch (_) {}
|
||||
document.getElementById('features').innerHTML = rows.map(([f,d]) => `<li><b>${f}</b>: ${d}</li>`).join('');
|
||||
}
|
||||
loadFeatures();
|
||||
Reference in New Issue
Block a user