multiline

package
v2026.608.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 EnableReplInputModes

func EnableReplInputModes(w io.Writer) func()

func NewMultilineStdin

func NewMultilineStdin(inner stdinReadCloser) io.ReadCloser

func ParseMultilineControlRunes

func ParseMultilineControlRunes(s string) (clean string, softBreak bool)

func PlatformStdin

func PlatformStdin() stdinReadCloser

func PrepareConsoleInput

func PrepareConsoleInput() func()

func SetReplImagePaste

func SetReplImagePaste(fn func() (string, bool))

func TrimMessageEdges

func TrimMessageEdges(s string) string

func WriteTerminalModeSequences

func WriteTerminalModeSequences(seq string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL