xqrs
xqrs
I did as you said and it turned out to be better than what I have proposed. https://asciinema.org/a/720928
This pull request also implements tab-completion. It shows a list of possible candidates and tab completes if there's only 1. This also makes line breaks in input soft and only...
This is a known issue with Discordo, try moving servers around in the official Discord client then re-launch Discordo.
A try of some ASCII art: ``` __ _ \ \ // \ \ // __ __ \/%/ / / / / /%/\ / / / /_ ___ ___ //...
the text looks "naked", how about `next[j] prev[k] first[g] last[G] reply[r]`? or put MOAR spaces around different keybindings like `j next k prev g first G last r reply`? Edit:...
can you rename `CR` into `Enter` and `^\` into `Ctrl+\` because I have seen a lot of *non-technical users use Discordo*
@harpyfox ```diff --- a/cmd/status_bar.go +++ b/cmd/status_bar.go @@ -8,6 +8,7 @@ import ( "github.com/ayn2op/discordo/internal/config" "github.com/ayn2op/discordo/internal/ui" "github.com/ayn2op/tview" + "github.com/gdamore/tcell/v2" "github.com/diamondburned/arikawa/v3/discord" ) @@ -29,7 +30,8 @@ func newStatusBar(cfg *config.Config) *statusBar { sb.Box. SetBorders(tview.BordersNone)....
@harpyfox there's a bug in tview that should be fixed first before doing this (I'm working on extra features for your PR, which depends on that fix) https://github.com/rivo/tview/pull/1137
Instead of waiting for upstream tview, we could just merge https://github.com/ayn2op/tview/pull/2 Edit: merged!
> [!IMPORTANT] > Configurability is important. Patch ```diff diff --git a/cmd/status_bar.go b/cmd/status_bar.go index 87e41bd..b436bbc 100644 --- a/cmd/status_bar.go +++ b/cmd/status_bar.go @@ -12,11 +12,8 @@ import ( "github.com/gdamore/tcell/v2" ) -const KeybindFormat =...