Documentation
¶
Overview ¶
Package tui is codebot's full-screen terminal interface. See docs/tui-plan.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model shows the conversation (or a page over it) on top, and the editor (or the top panel) below.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package commands holds the slash commands.
|
Package commands holds the slash commands. |
|
Package editor is the multi-line input: history and history search, completion of slash commands and @file mentions, pasted text and images, and handing the input off to the user's $EDITOR.
|
Package editor is the multi-line input: history and history search, completion of slash commands and @file mentions, pasted text and images, and handing the input off to the user's $EDITOR. |
|
Package imageinput turns clipboard images and dropped image files into image blocks.
|
Package imageinput turns clipboard images and dropped image files into image blocks. |
|
Package markdown renders markdown and wraps plain text for the terminal.
|
Package markdown renders markdown and wraps plain text for the terminal. |
|
Package onboarding is the first-run setup.
|
Package onboarding is the first-run setup. |
|
Package panel holds the views that replace the editor at the bottom of the screen until dismissed: permission requests, questions, lists and text.
|
Package panel holds the views that replace the editor at the bottom of the screen until dismissed: permission requests, questions, lists and text. |
|
Package syntax colors code with chroma.
|
Package syntax colors code with chroma. |
|
Package theme holds the TUI's palette and styles.
|
Package theme holds the TUI's palette and styles. |
|
Package transcript turns a conversation into cells that render at any width.
|
Package transcript turns a conversation into cells that render at any width. |
Click to show internal directories.
Click to hide internal directories.