package
Version:
v1.68.0
Opens a new window with list of versions in this module.
Published: Sep 8, 2024
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
Package ncdu implements a text based user interface for exploring a remote
-
type UI
-
func (u *UI) Box()
-
func (u *UI) Draw()
-
func (u *UI) Line(x, y, xmax int, style tcell.Style, spacer rune, msg string)
-
func (u *UI) LineOptions(x, y, xmax int, style tcell.Style, options []string, selected int)
-
func (u *UI) Linef(x, y, xmax int, style tcell.Style, spacer rune, format string, ...)
-
func (u *UI) Print(x, y int, style tcell.Style, msg string)
-
func (u *UI) Printf(x, y int, style tcell.Style, format string, args ...interface{})
-
func (u *UI) Run() error
UI contains the state of the user interface
NewUI creates a new user interface for ncdu on f
Box the u.boxText onto the screen
func (u *UI) Line(x, y, xmax int, style tcell.Style, spacer rune, msg string)
Line prints a string to given xmax, with given space
func (u *UI) LineOptions(x, y, xmax int, style tcell.Style, options []string, selected int)
LineOptions Print line of selectable options
func (u *UI) Linef(x, y, xmax int, style tcell.Style, spacer rune, format string, args ...interface{})
Linef a string
func (u *UI) Print(x, y int, style tcell.Style, msg string)
Print a string
func (u *UI) Printf(x, y int, style tcell.Style, format string, args ...interface{})
Printf a string
Run shows the user interface
Source Files
¶
Directories
¶
Package scan does concurrent scanning of an Fs building up a directory tree.
|
Package scan does concurrent scanning of an Fs building up a directory tree. |
Click to show internal directories.
Click to hide internal directories.