utils

package
v0.0.0-...-2e688a8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const LightGray = 251

Variables

This section is empty.

Functions

func Find_subdirs

func Find_subdirs(glob *Global, entrypoints []string, query string, depth int) []string

Find subdirs with name matching input base path

func Input_mgr

func Input_mgr(glob *Global, event termbox.Event)

func Matches_render

func Matches_render(glob *Global, line_nums bool)

func Text_render

func Text_render(glob *Global)

Draw the Search field

Types

type Global

type Global struct {
	Matches      []string
	Match_size   []int64
	X            int
	Text         string
	Select_mode  bool
	Select_index int
}

Jump to

Keyboard shortcuts

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