←back to thread

Okay, I Like WezTerm

(alexplescan.com)
488 points alexpls | 2 comments | | HN request time: 0.622s | source
1. robxorb ◴[] No.41229674[source]
Just tried it. I liked how easy it was to set up colours/fonts etc, using the config file.

But I hit a snag. On macOS, it's standard that in any text window, to select everything for copying, you hit Command-a.

But Command-a in wezterm just printed an "a" character. What?

I spent a while looking in the docs and issues, but couldn't figure out how to Select All.

I don't think I should have to justify it, but in case someone's wondering - it's useful if you want to search or parse an entire Terminal session using some other process (eg, grep), or edit it, or just persist it for example.

Regardless of why, "Select All" is such a standard function it felt quite strange it wasn't suported out of the box.

replies(1): >>41232284 #
2. spartanatreyu ◴[] No.41232284[source]
Select all seems a bit risky in a terminal because it could contain way more information than you'd expect.

e.g. I want to `cat` a file to make sure i've got the right one, but I accidentally cat a full 1gb sql backup rather than the tiny 50 line script I was expecting. Sometime later, I try to select all, copy, switch application, paste for some reason but now I'm stuck waiting for 1gb to copy over

Personally I'm a bit more cautious about copying from a terminal.

Either way if that's what you really want to do, you can check the repo to see how other people scripted it into wezterm:

https://github.com/wez/wezterm/discussions/2026