rclone: github.com/ncw/rclone/cmd/ncdu Index | Files | Directories

package ncdu

import "github.com/ncw/rclone/cmd/ncdu"

Index

Package Files

ncdu.go

func Line Uses

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 Uses

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

LineOptions Print line of selectable options

func Linef Uses

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

Linef a string

func Print Uses

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

Print a string

func Printf Uses

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

Printf a string

type UI Uses

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

UI contains the state of the user interface

func NewUI Uses

func NewUI(f fs.Fs) *UI

NewUI creates a new user interface for ncdu on f

func (*UI) Box Uses

func (u *UI) Box()

Box the u.boxText onto the screen

func (*UI) Draw Uses

func (u *UI) Draw() error

Draw the current screen

func (*UI) Show Uses

func (u *UI) Show() error

Show shows the user interface

Directories

PathSynopsis
scanPackage scan does concurrent scanning of an Fs building up a directory tree.

Package ncdu imports 15 packages (graph) and is imported by 7 packages. Updated 2019-08-19. Refresh now. Tools for package owners.