Live data from Hacker News

Charm – Tools to make the command line glamorous

charm.sh

81–90 of 223 posts

Re: Charm – Tools to make the command line glamorous

#82
post #10

, I like it, but I am not sure about diving into Golant again. Any way to use it in other languages? Or do I just keep poking at Rich[1] in Python? [1] https://rich.readthedocs.io/en/latest/

A quick google shows that go can expose functions to c, so presumably you could use it in any language that has a c ffi.

Re: Charm – Tools to make the command line glamorous

#83
post #61

Earlier quoted context omitted.

Do you know what language the libraries are written for?

From the first line of the readme of the first listed lib: > The fun, functional and stateful way to build terminal apps. A Go framework based on The Elm Architecture.

Not being able to determine that without having to go to GitHub seems like a problem with the design of the website.

Re: Charm – Tools to make the command line glamorous

#85
post #25

These apps look wonderful, only taking a casual glance at the repo, has anyone used, or would one recommend using Skate ( https://github.com/charmbracelet/skate ) as a personal PW manager or even keychain?

Also curious on how/what that would look like.

I’m going to clone and fork, this looks like a really great project for me to cut my golang teeth on for that very purpose.

Re: Charm – Tools to make the command line glamorous

#88
post #52

I love the general renaissance of terminal UI tools we are seeing in the last few years. I can't quite put my finger on what I like about it so much. Something to do with the simplicity and directness of these UIs, guaranteed optimised for efficient keyboard nav, widespread adoption of vim-like navigation keys, and the fact that they link directly with my terminal shell so I can stay entirely in a stream of thought w…

> I do wish it was easier to select text from the terminal screen without using the mouse.

Check out TMUX. TMUX has a copy mode that can be used to navigate the scrollback buffer for any TMUX window/pane and select and copy text. By default, that text is copied to a TMUX paste buffer, but can be copied to the system buffer using a simple command (e.g., `tmux show-buffer | pbcopy` on macOS or `tmux show-buffer | xsel -b` on Linux/X11). You can set that command to run automatically when you copy, which saves a step if you do it often.

Also, if you enable vi keys in TMUX (e.g., add `set-window-option -g mode-keys vi` to ~/.tmux.conf), then you can navigate copy mode using vi navigation keys, including '/' and '?' for search within the scrollback buffer.

Re: Charm – Tools to make the command line glamorous

#90
post #52

I love the general renaissance of terminal UI tools we are seeing in the last few years. I can't quite put my finger on what I like about it so much. Something to do with the simplicity and directness of these UIs, guaranteed optimised for efficient keyboard nav, widespread adoption of vim-like navigation keys, and the fact that they link directly with my terminal shell so I can stay entirely in a stream of thought w…

I use tmux's scroll/select/copy/paste with vim bindings

Alacritty has this too, but I have never tried it because I use tmux.

Post reply on HN