Building and researching software for the purpose of storing and sharing data for all intelligences, for all of time
charlieroth / pomotui Goto Github PK
View Code? Open in Web Editor NEWTUI Application For Tracking Pomodoro Sessions
TUI Application For Tracking Pomodoro Sessions
Building and researching software for the purpose of storing and sharing data for all intelligences, for all of time
Present a list of "long break duration" options
User can choose between 15, 20, 25, 30
minutes
Reproducing:
0. Install with go install @latest
Caught panic:
runtime error: invalid memory address or nil pointer dereference
Restoring terminal...
goroutine 1 [running]:
runtime/debug.Stack()
/usr/lib/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
/usr/lib/go/src/runtime/debug/stack.go:16 +0x19
github.com/charmbracelet/bubbletea.(*Program).StartReturningModel.func3()
/home/me/go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:371 +0x95
panic({0x59a880, 0x6fda40})
/usr/lib/go/src/runtime/panic.go:890 +0x262
github.com/charmbracelet/bubbletea.(*Program).StartReturningModel(0xc0001280b0)
/home/me/go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:540 +0x1276
github.com/charmbracelet/bubbletea.(*Program).Start(...)
/home/me/go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:547
main.main()
/home/me/go/pkg/mod/github.com/charlieroth/[email protected]/main.go:13 +0x8a
Judging from where the error occurs, this might be an upstream issue with bubbletea, but unlikely.
On a side note, I'd love to see the support for skipping breaks or work sessions implemented, as well as restarting the counter (can contribute my time for that in near future as well).
Go env:
GO111MODULE=""
GOARCH="amd64"
GOBIN="/home/me/go/bin"
GOCACHE="/home/me/.cache/go-build"
GOENV="/home/me/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/me/go/pkg/mod"
GONOPROXY="github.com/italistdev"
GONOSUMDB="github.com/italistdev"
GOOS="linux"
GOPATH="/home/me/go"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.6"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build300346513=/tmp/go-build -gno-record-gcc-switches"
other relevant env vars:
$TERM: screen-256color (Alacritty with tmux on Wayland)
$SHELL: zsh
$OSTYPE: linux-musl
kernel version: 5.15.95-0-lts
I also think that the issue might be related to cgo having compatibility issues with musl, though given that go and alpine go kinda hand in hand in docker containers I also doubt it. I faced this issue way more often with rust crates that utilize the libc crate, this was also the reason I chose this program over rusty krab manager.
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.