tui

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

* Glimpse - Editor Integration Module * Author: Pratyush Yadav <pratyushyadav0106@gmail.com> * Description: Cross-platform editor integration for opening files at specific lines * License: MIT License

* Glimpse - Terminal User Interface Module * Author: Pratyush Yadav <pratyushyadav0106@gmail.com> * Description: Interactive TUI implementation using Bubbletea framework * License: MIT License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenFileInEditor

func OpenFileInEditor(filename string, line int) error

Types

type Model

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

func InitialModel

func InitialModel() Model

func InitialModelWithIndex

func InitialModelWithIndex(index *search.Index) Model

InitialModelWithIndex creates a Model with an in-memory index for fast searching

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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