mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-14 16:07:52 +00:00
A plugin web view can open a read-only editor tab that streams a process's output, with plugin-defined toggles, Find, wrap, zoom and Clear. The process is authorised in the backend against the exact granted `process:<program>` and its pinned executable, output is bounded, and the stream survives tab switches but ends when the tab closes, the plugin is disabled or the window closes. Adds a web-log test fixture and docs. Verified on macOS; Windows/Linux not run. Co-authored-by: dengliu <5108773+dengliu@users.noreply.github.com>
55 lines
852 B
CSS
55 lines
852 B
CSS
.pane {
|
|
flex: 1;
|
|
height: 100%;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.toolbar {
|
|
height: 32px;
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.flex {
|
|
flex: 1;
|
|
}
|
|
.output {
|
|
flex: 1;
|
|
min-height: 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.log {
|
|
flex: 1;
|
|
min-height: 0;
|
|
margin: 0;
|
|
padding: 6px 10px;
|
|
overflow: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-code);
|
|
line-height: var(--lh-code);
|
|
color: var(--fg-editor);
|
|
background: var(--bg-editor);
|
|
white-space: pre;
|
|
-webkit-user-select: text;
|
|
user-select: text;
|
|
cursor: default;
|
|
}
|
|
.log > div {
|
|
cursor: text;
|
|
}
|
|
.wrap {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.stderr {
|
|
color: var(--danger);
|
|
}
|
|
.dim {
|
|
color: var(--fg-subtle);
|
|
}
|