iterm2

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package iterm2 provides iTerm2-specific functionality.

Index

Constants

View Source
const Auto = "auto"

Auto is a constant that represents the "auto" value.

Variables

This section is empty.

Functions

func Cells

func Cells(n int) string

Cells returns a string that represents the number of cells. This is simply a wrapper around strconv.Itoa.

func Percent

func Percent(n int) string

Percent returns a string that represents the percentage.

func Pixels

func Pixels(n int) string

Pixels returns a string that represents the number of pixels.

Types

type File

type File file

File represents the optional arguments for the iTerm2 Inline Image Protocol.

func (File) String

func (f File) String() string

String implements fmt.Stringer.

type FileEnd

type FileEnd struct{}

FileEnd represents the optional arguments for the iTerm2 Inline Image Protocol.

func (FileEnd) String

func (f FileEnd) String() string

String implements fmt.Stringer.

type FilePart

type FilePart file

FilePart represents the optional arguments for the iTerm2 Inline Image Protocol.

func (FilePart) String

func (f FilePart) String() string

String implements fmt.Stringer.

type MultipartFile

type MultipartFile file

MultipartFile represents the optional arguments for the iTerm2 Inline Image Protocol.

func (MultipartFile) String

func (f MultipartFile) String() string

String implements fmt.Stringer.

Jump to

Keyboard shortcuts

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