anmitsu / goful Goto Github PK
View Code? Open in Web Editor NEWGoful is a CUI file manager written in Go.
License: MIT License
Goful is a CUI file manager written in Go.
License: MIT License
$ 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)
Steps to reproduce the behavior:
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 ?
Steps to reproduce the behavior:
I LOVE goful (especially your Emacs key binding). But after I run it (Windows 10) a mysterious window keeps popping up and immediately disappearing. It's not a game changer, but I wonder if you know what might be doing it. If I restart Windows, it doesn't do it.
Thanks! Great program.
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.
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
Line 74 in 27d6706
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
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.