Giter VIP home page Giter VIP logo

goful's People

Contributors

anmitsu avatar ninedraft avatar vasyahacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

goful's Issues

build failed under FreeBSD

Describe the bug:

$ go install github.com/anmitsu/goful@latest

go: downloading github.com/anmitsu/goful v0.2.1
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/gdamore/tcell/v2 v2.4.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/gdamore/encoding v1.0.0
go: downloading golang.org/x/text v0.3.7
go: downloading golang.org/x/sys v0.0.0-20211124211545-fe61309f8881
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
# github.com/anmitsu/goful/info
../../go/pkg/mod/github.com/anmitsu/[email protected]/info/info_unix.go:23:10: invalid operation: statfs.Bavail * uint64(statfs.Bsize) (mismatched types int64 and uint64)

To Reproduce:

Steps to reproduce the behavior:

Stack trace:

Desktop (please complete the following information):

  • OS: FreeBSD 13-STABLE
  • Terminal: Foot Terminal

Additional context:

crash on mips router

Hi, I compiled the program, but when I run it on the device I get this error:
panic: open /dev/tty: no such file or directory
goroutine 1 [running]:
github.com/anmitsu/goful/widget.Init()
/goful/widget/widget.go:271 +0x104
main.main()
/goful/main.go:20 +0x40

On my router used pseudo-terminals (“pts”), is it possible to run your program using this feature of my hardware?

p.s. Other file manager "llama" used pts and work fine, but I like your program, because I'm used to a two-pane view, can you fix it somehow?

p.p.s. I understand correctly that this is due to the package "tcell" that uses /dev/tty ?

git bash cursor disappears after running goful

Describe the bug:

To Reproduce:

Steps to reproduce the behavior:

  1. Input key '....'
  2. Processing '....'
  3. See error

Stack trace:

Desktop (please complete the following information):

  • OS:
  • Terminal

Additional context:

Provide pre built releases for the major platforms

Describe the solution you'd like

It would be very convenient if this project could provide pre built releases for the major platforms e.g. via GoReleaser. Installing it via go get -u or git clone and then use the custom build script is not optimal.

adding personal bookmarks

Hi

first of all great project I am already using it every day ^^

It would be great to have the ability to add ones own bookmarks to the predefined list at main.go:242

Multiple errors...

I'm trying to get goful but I can't.

λ go version
go version go1.15.7 windows/amd64 (Windows 10 Pro x64)

λ go get github.com/anmitsu/goful

runtime

C:\programs\Go\src\runtime\hashmap.go:89:2: empty redeclared in this block
previous declaration at C:\programs\Go\src\runtime\chan.go:428:22
C:\programs\Go\src\runtime\map.go:65:2: bucketCntBits redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:64:18
C:\programs\Go\src\runtime\map.go:66:2: bucketCnt redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:65:23
C:\programs\Go\src\runtime\map.go:77:2: maxKeySize redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:74:17
C:\programs\Go\src\runtime\map.go:83:2: dataOffset redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:83:4
C:\programs\Go\src\runtime\map.go:94:2: evacuatedX redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:91:19
C:\programs\Go\src\runtime\map.go:95:2: evacuatedY redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:92:19
C:\programs\Go\src\runtime\map.go:96:2: evacuatedEmpty redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:90:19
C:\programs\Go\src\runtime\map.go:97:2: minTopHash redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:93:19
C:\programs\Go\src\runtime\map.go :100 :2: iterator redeclared in this block
previous declaration at C:\programs\Go\src\runtime\hashmap.go:96:17
C:\programs\Go\src\runtime\map.go :100 :2: too many errors

Restore terminal title

First, impressive work!

On Linux using Bash:

This changes the terminal title:
// Change a terminal title.
if is_tmux {
os.Stdout.WriteString("\033kgoful\033") // for tmux
} else {
os.Stdout.WriteString("\033]0;goful\007") // for otherwise
}

But closing Goful doesn't restore the terminal title.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.