Documentation
¶
Index ¶
- func ApplyPalette(p tuipanels.Palette)
- func StatusBar(d *node.Diff, view string, width int, searchMode bool, searchQuery string, ...) string
- type InfoPanel
- type SplitPanel
- func (p *SplitPanel) CycleFocus()
- func (p *SplitPanel) HalfPageDown()
- func (p *SplitPanel) HalfPageUp()
- func (p *SplitPanel) MatchCount() int
- func (p *SplitPanel) NextMatch()
- func (p *SplitPanel) PrevMatch()
- func (p *SplitPanel) Resize(w, h int)
- func (p *SplitPanel) ScrollDown(n int)
- func (p *SplitPanel) ScrollUp(n int)
- func (p *SplitPanel) SetSearch(q string)
- func (p *SplitPanel) View() string
- type UnifiedPanel
- func (p *UnifiedPanel) CurrentHunkIdx() int
- func (p *UnifiedPanel) HalfPageDown()
- func (p *UnifiedPanel) HalfPageUp()
- func (p *UnifiedPanel) MatchCount() int
- func (p *UnifiedPanel) NextMatch()
- func (p *UnifiedPanel) PrevMatch()
- func (p *UnifiedPanel) Resize(w, h int)
- func (p *UnifiedPanel) ScrollDown(n int)
- func (p *UnifiedPanel) ScrollUp(n int)
- func (p *UnifiedPanel) SetFocused(f bool)
- func (p *UnifiedPanel) SetSearch(q string)
- func (p *UnifiedPanel) SetTextOnly(v bool)
- func (p *UnifiedPanel) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPalette ¶
Types ¶
type InfoPanel ¶
type InfoPanel struct {
// contains filtered or unexported fields
}
func (*InfoPanel) SetFocused ¶
func (*InfoPanel) SetHunkIdx ¶
type SplitPanel ¶
type SplitPanel struct {
// contains filtered or unexported fields
}
func NewSplitPanel ¶
func NewSplitPanel(d *node.Diff, w, h int) SplitPanel
func (*SplitPanel) CycleFocus ¶
func (p *SplitPanel) CycleFocus()
func (*SplitPanel) HalfPageDown ¶
func (p *SplitPanel) HalfPageDown()
func (*SplitPanel) HalfPageUp ¶
func (p *SplitPanel) HalfPageUp()
func (*SplitPanel) MatchCount ¶
func (p *SplitPanel) MatchCount() int
func (*SplitPanel) NextMatch ¶
func (p *SplitPanel) NextMatch()
func (*SplitPanel) PrevMatch ¶
func (p *SplitPanel) PrevMatch()
func (*SplitPanel) Resize ¶
func (p *SplitPanel) Resize(w, h int)
func (*SplitPanel) ScrollDown ¶
func (p *SplitPanel) ScrollDown(n int)
func (*SplitPanel) ScrollUp ¶
func (p *SplitPanel) ScrollUp(n int)
func (*SplitPanel) SetSearch ¶
func (p *SplitPanel) SetSearch(q string)
func (*SplitPanel) View ¶
func (p *SplitPanel) View() string
type UnifiedPanel ¶
type UnifiedPanel struct {
// contains filtered or unexported fields
}
func NewUnifiedPanel ¶
func NewUnifiedPanel(d *node.Diff, w, h int) UnifiedPanel
func (*UnifiedPanel) CurrentHunkIdx ¶
func (p *UnifiedPanel) CurrentHunkIdx() int
func (*UnifiedPanel) HalfPageDown ¶
func (p *UnifiedPanel) HalfPageDown()
func (*UnifiedPanel) HalfPageUp ¶
func (p *UnifiedPanel) HalfPageUp()
func (*UnifiedPanel) MatchCount ¶
func (p *UnifiedPanel) MatchCount() int
func (*UnifiedPanel) NextMatch ¶
func (p *UnifiedPanel) NextMatch()
func (*UnifiedPanel) PrevMatch ¶
func (p *UnifiedPanel) PrevMatch()
func (*UnifiedPanel) Resize ¶
func (p *UnifiedPanel) Resize(w, h int)
func (*UnifiedPanel) ScrollDown ¶
func (p *UnifiedPanel) ScrollDown(n int)
func (*UnifiedPanel) ScrollUp ¶
func (p *UnifiedPanel) ScrollUp(n int)
func (*UnifiedPanel) SetFocused ¶
func (p *UnifiedPanel) SetFocused(f bool)
func (*UnifiedPanel) SetSearch ¶
func (p *UnifiedPanel) SetSearch(q string)
func (*UnifiedPanel) SetTextOnly ¶ added in v1.0.0
func (p *UnifiedPanel) SetTextOnly(v bool)
func (*UnifiedPanel) View ¶
func (p *UnifiedPanel) View() string
Click to show internal directories.
Click to hide internal directories.