diff --git a/src/components/Settings.svelte b/src/components/Settings.svelte index b7920ba..4cc6c32 100644 --- a/src/components/Settings.svelte +++ b/src/components/Settings.svelte @@ -104,6 +104,12 @@ {/if} + {#if cli && (!cli.ok || !cli.session)} +
+ raw output (last {cli.raw_text.length} chars) +
{cli.raw_text.slice(-1500)}
+
+ {/if}
@@ -185,6 +191,18 @@ .roots { margin: 0; padding-left: 14px; max-height: 60px; overflow: auto; } .roots code { font-size: 10px; word-break: break-all; } .hint { font-size: 10px; line-height: 1.3; } + pre.raw { + margin: 4px 0 0; + padding: 6px; + background: rgba(0, 0, 0, 0.35); + border-radius: 4px; + font-size: 9px; + line-height: 1.2; + max-height: 140px; + overflow: auto; + white-space: pre-wrap; + word-break: break-all; + } .error { background: rgba(255, 107, 107, 0.15); border: 1px solid var(--danger);