Skip to content

Commit f8bc929

Browse files
Merge pull request #792 from corbitsdev/cl-6791-remove-unused-shell-aliases
Remove unused TUI shell handler aliases
2 parents 18e2487 + b51551b commit f8bc929

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

src/tui/shell.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,6 @@ export function setEffortCycleHandler(shell: AppShell, onCycle: () => void): voi
224224
effortCycleHandlers.set(shell, onCycle);
225225
}
226226

227-
export function clearEffortCycleHandler(shell: AppShell): void {
228-
effortCycleHandlers.delete(shell);
229-
}
230-
231227
/** Optional Wave-4 bridge hooks (runtime-bridge attaches exclusively). */
232228
export interface ShellBridgeHooks {
233229
onSubmit: (
@@ -3456,11 +3452,6 @@ export function clearShellInterruptFlash(shell: AppShell): void {
34563452

34573453
const OVERLAY_FRAME_ID = "inset-demo";
34583454

3459-
/** Wrap body text for the overlay host (shared with overlays.ts). */
3460-
export function wrapShellOverlayBody(text: string, width: number, maxLines = 8): readonly string[] {
3461-
return wrapOverlayText(text, Math.max(8, Math.floor(width)), maxLines);
3462-
}
3463-
34643455
/**
34653456
* Context rows a decision overlay's body may occupy on a terminal with room
34663457
* to spare. The shaped body charges its header and its two rows of air on
@@ -5132,14 +5123,6 @@ export function toggleMouseCapture(shell: AppShell): boolean | null {
51325123
return next;
51335124
}
51345125

5135-
/**
5136-
* Keyboard copy path (Alt+C): open the copy overlay (Ink parity).
5137-
* `activeIndex` is ignored — selection lives in the overlay list.
5138-
*/
5139-
export function copyActiveMessage(shell: AppShell, _activeIndex?: number): boolean {
5140-
return enterCopyMode(shell);
5141-
}
5142-
51435126
/**
51445127
* Enter a child subagent session view.
51455128
* Host passes live rows + agent label (`ObserveSession`); fixture via

0 commit comments

Comments
 (0)