Documentation
¶
Index ¶
- Constants
- func EditorStdout(fallback io.Writer) io.Writer
- func EditorUsesRawStdout() bool
- func EnableReplInputModes(w io.Writer) func()
- func NewMultilineStdin(inner stdinReadCloser) io.ReadCloser
- func ParseMultilineControlRunes(s string) (clean string, softBreak bool)
- func PlatformStdin() stdinReadCloser
- func PrepareConsoleInput() func()
- func PrepareConsoleOutput() func()
- func SetReplImagePaste(fn func() (string, bool))
- func TrimMessageEdges(s string) string
- func WriteTerminalModeSequences(seq string)
Constants ¶
View Source
const BracketedPasteDisable = "\x1b[?2004l"
View Source
const BracketedPasteEnable = "\x1b[?2004h"
View Source
const MouseReportDisable = "\x1b[?1000l\x1b[?1002l\x1b[?1003l\x1b[?1006l"
View Source
const PasteImageKey byte = 22
Variables ¶
This section is empty.
Functions ¶
func EditorUsesRawStdout ¶ added in v2026.608.1
func EditorUsesRawStdout() bool
func EnableReplInputModes ¶
func NewMultilineStdin ¶
func NewMultilineStdin(inner stdinReadCloser) io.ReadCloser
func PlatformStdin ¶
func PlatformStdin() stdinReadCloser
func PrepareConsoleInput ¶
func PrepareConsoleInput() func()
func PrepareConsoleOutput ¶ added in v2026.608.1
func PrepareConsoleOutput() func()
func SetReplImagePaste ¶
func TrimMessageEdges ¶
func WriteTerminalModeSequences ¶
func WriteTerminalModeSequences(seq string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.