menu
lea_code package
documentation
ui/prompt_input.dart
ui/prompt_input.dart
dark_mode
light_mode
ui/prompt_input
library
Classes
PromptInput
The input box at the bottom of the screen, like Claude Code's: a bordered multi-line editor with history, slash-command suggestions and a hint line.
SlashCommand
Functions
layoutText
(
List
<
String
>
chars
,
int
cursor
,
int
width
)
→ (
{
int
column
,
int
row
,
List
<
String
>
rows
}
)
Text laid out in rows of at most
width
columns, with where the cursor falls.
lea_code package
documentation
ui/prompt_input.dart
lea_code
package
Libraries
agent/coding_agent
lea_code
prompts/session_context
prompts/system_prompt
tools/ask_user_question_tool
tools/bash_tool
tools/edit_tool
tools/glob_tool
tools/grep_tool
tools/list_mcp_resources_tool
tools/models/session_task
tools/models/tool_runtime_models
tools/powershell_tool
tools/read_mcp_resource_tool
tools/read_tool
tools/runtime/tool_runtime
tools/sleep_tool
tools/task_create_tool
tools/task_list_tool
tools/task_update_tool
tools/tool_registry
tools/utils/command_safety
tools/utils/tool_support
tools/write_tool
ui/ansi
ui/console
ui/line_editor
ui/markdown
ui/prompt_input
ui/select_prompt
ui/terminal
ui/tool_display
prompt_input library