reader

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResizeString

func ResizeString(s string, width int, indentation string) string

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(searcher search.Searcher, query string) *Reader

func (*Reader) Footer

func (r *Reader) Footer() string

func (*Reader) Header

func (r *Reader) Header() string

func (*Reader) Init

func (r *Reader) Init() tea.Cmd

func (*Reader) Query

func (r *Reader) Query(query string) (string, error)

func (*Reader) RenderVerses

func (r *Reader) RenderVerses() string

func (*Reader) SetPadding

func (r *Reader) SetPadding(p int)

func (*Reader) SetWrap

func (r *Reader) SetWrap(w bool)

func (*Reader) Update

func (r *Reader) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Reader) View

func (r *Reader) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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