ncdu

package
v1.52.1-0...-9b21a15 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Line

func Line(x, y, xmax int, fg, bg termbox.Attribute, spacer rune, msg string)

Line prints a string to given xmax, with given space

func LineOptions

func LineOptions(x, y, xmax int, fg, bg termbox.Attribute, options []string, selected int)

LineOptions Print line of selectable options

func Linef

func Linef(x, y, xmax int, fg, bg termbox.Attribute, spacer rune, format string, args ...interface{})

Linef a string

func Print

func Print(x, y int, fg, bg termbox.Attribute, msg string)

Print a string

func Printf

func Printf(x, y int, fg, bg termbox.Attribute, format string, args ...interface{})

Printf a string

Types

type UI

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

UI contains the state of the user interface

func NewUI

func NewUI(f fs.Fs) *UI

NewUI creates a new user interface for ncdu on f

func (*UI) Box

func (u *UI) Box()

Box the u.boxText onto the screen

func (*UI) Draw

func (u *UI) Draw() error

Draw the current screen

func (*UI) Show

func (u *UI) Show() error

Show shows the user interface

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

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