UNPKG

dmux

Version:

Tmux pane manager with AI agent integration for parallel development workflows

13 lines 858 B
import React from 'react'; import { Box, Text } from 'ink'; import CleanTextInput from '../CleanTextInput.js'; const NewPaneDialog = ({ value, onChange, onSubmit }) => { return (React.createElement(Box, { flexDirection: "column", marginTop: 1 }, React.createElement(Text, null, "Enter initial prompt (ESC to cancel):"), React.createElement(Box, { borderStyle: "round", borderColor: "#E67E22", paddingX: 1, marginTop: 1 }, React.createElement(CleanTextInput, { value: value, onChange: onChange, onSubmit: (expandedValue) => onSubmit(expandedValue || value) })), React.createElement(Box, { marginTop: 1 }, React.createElement(Text, { dimColor: true, italic: true }, "Press Ctrl+O to open in $EDITOR for complex multi-line input")))); }; export default NewPaneDialog; //# sourceMappingURL=NewPaneDialog.js.map