PlainShell
Header, main, status. The smallest arrangement that is still a shell.
import { createApp, registerBuiltins } from '@textui/core';
import { createNodeTerminal } from '@textui/terminal';
const app = createApp({
terminal: createNodeTerminal(),
shell: 'plain',
onBoot: registerBuiltins,
});
Props
No props of its own.
A shell decides where the surfaces go and nothing else. Switching between the four shipped ones changes the frame without touching a single mount, which is the property the whole surface system exists to give you.
plain places header, main and status. Anything opened into a surface
it does not place simply does not appear - which is worth knowing when a mount
seems to vanish.
See also
- WorkbenchShell - rail, sidebar, panel and aside as well
- Surfaces, shells and resources - the nine surface names