lorehub
Version:
Capture and surface the collective wisdom of your codebase
12 lines • 502 B
JavaScript
import React from 'react';
import { Box } from 'ink';
import { useAlternativeScreen } from '../hooks/useAlternativeScreen.js';
/**
* Wrapper component that renders children in alternative screen mode
* This prevents terminal scrollback issues and provides a clean full-screen UI
*/
export function AlternativeScreenView({ children }) {
useAlternativeScreen();
return (React.createElement(Box, { width: "100%", height: "100%" }, children));
}
//# sourceMappingURL=AlternativeScreenView.js.map