Merge branch 'main' of https://github.com/can1357/oh-my-pi into HEAD
This commit is contained in:
@@ -324,9 +324,19 @@ export class SelectorController {
|
||||
for (const child of this.ctx.chatContainer.children) {
|
||||
if (child instanceof AssistantMessageComponent) {
|
||||
child.setHideThinkingBlock(value as boolean);
|
||||
child.invalidate();
|
||||
}
|
||||
}
|
||||
// Full clear + replay so blocks frozen in committed scrollback on
|
||||
// ED3-risk terminals retire their stale snapshots too (see
|
||||
// InputController.toggleThinkingBlockVisibility).
|
||||
this.ctx.ui.resetDisplay();
|
||||
break;
|
||||
case "display.cacheMissMarker":
|
||||
// Rebuild re-runs the usage-based detection under the new setting so
|
||||
// markers appear/disappear; full reset retires any already committed
|
||||
// to native scrollback (mirrors hideThinking).
|
||||
this.ctx.rebuildChatFromMessages();
|
||||
this.ctx.ui.resetDisplay();
|
||||
break;
|
||||
case "tui.tight":
|
||||
setTuiTight(value as boolean);
|
||||
|
||||
Reference in New Issue
Block a user