cel-tui
    Preparing search index...

    Module core/src

    import { cel, VStack, HStack, Text, TextInput, ProcessTerminal } from "@cel-tui/core";

    let name = "";

    cel.init(new ProcessTerminal());
    cel.viewport(() =>
    VStack({ height: "100%" }, [
    Text("What is your name?", { bold: true }),
    TextInput({
    value: name,
    onChange: (v) => { name = v; cel.render(); },
    }),
    ])
    );

    Classes

    CellBuffer
    MockTerminal
    ProcessTerminal

    Interfaces

    Cell
    Terminal

    Variables

    cel
    defaultTheme
    EMPTY_CELL

    Functions

    emitBuffer
    extractAnsiCode
    HStack
    measureContentHeight
    Text
    TextInput
    visibleWidth
    VStack

    References

    Color → Color
    ContainerNode → ContainerNode
    ContainerProps → ContainerProps
    Node → Node
    SizeValue → SizeValue
    StyleProps → StyleProps
    TextInputNode → TextInputNode
    TextInputProps → TextInputProps
    TextNode → TextNode
    TextProps → TextProps
    Theme → Theme
    ThemeValue → ThemeValue