Readit News logoReadit News
rashil2000 commented on How to Obsessively Tune WezTerm   rashil2000.me/blogs/tune-... · Posted by u/todsacerdoti
technojamin · 4 months ago
I love WezTerm! In the author's spirit of obsessive tweaking, here's a completely inconsequential configuration change I made.

By default, WezTerm doesn't have a scrollbar, but you can easily enable it with:

  config.enable_scroll_bar = true
But now you always have a scrollbar, just a big line on the side when there's no scrollback or you're in alternate screen mode. Horrible! So, here's an event handler that will automatically hide the scrollbar when not needed, giving it the same behavior as scrollbars in modern applications:

  -- Hide the scrollbar when there is no scrollback or alternate screen is active
  wezterm.on("update-status", function(window, pane)
    local overrides = window:get_config_overrides() or {}
    local dimensions = pane:get_dimensions()

    overrides.enable_scroll_bar = dimensions.scrollback_rows > dimensions.viewport_rows and not pane:is_alt_screen_active()

    window:set_config_overrides(overrides)
  end)
And that kinda sums up the development philosophy of WezTerm. It has basically all the building blocks you'd ever need with nice APIs. It's set up quite usably by default, but anything that's missing you can probably implement yourself.

rashil2000 · 4 months ago
That's pretty nice! Thanks for the tip, I applied it to my config as well.
rashil2000 commented on How to Obsessively Tune WezTerm   rashil2000.me/blogs/tune-... · Posted by u/todsacerdoti
dmd · 4 months ago
This post would be a lot better if all the images weren't broken.
rashil2000 · 5 months ago
Sorry, I ran out of the free Blob Storage transfer quota, should be fixed now
rashil2000 commented on How to Obsessively Tune WezTerm   rashil2000.me/blogs/tune-... · Posted by u/todsacerdoti
bbkane · 4 months ago
Me too- these images are very important to the blog post, I wish I could see them
rashil2000 · 5 months ago
Sorry, I ran out of the free Blob Storage transfer quota, should be fixed now
rashil2000 commented on New Windows 11 test build wants your credit card info   pcworld.com/article/61895... · Posted by u/thesuperbigfrog
fortran77 · 4 years ago
So does my iPhone, for contactless "Apple Pay"
rashil2000 · 4 years ago
Shhh, Apple is completely allowed to do such things. In fact it is a lifesaver and a UX upgrade /s.
rashil2000 commented on New Windows 11 test build wants your credit card info   pcworld.com/article/61895... · Posted by u/thesuperbigfrog
MikusR · 4 years ago
So a FUD article about moving stuff that you had to go to separate website to do inside settings
rashil2000 · 4 years ago
Essentially. They're in no way forcing you to give away credit card info. Even the title is editorialized in a way to incite hatred against something that's already present in a competing OS. Isn't there an HN policy against such titles?
rashil2000 commented on New Windows 11 test build wants your credit card info   pcworld.com/article/61895... · Posted by u/thesuperbigfrog
lenkite · 4 years ago
Why is this shocking ? They are copying macOS where this feature is already present. When Apple does it, it's just perfectly fine and (in Apple fan voice) - this so significantly improves the UX experience.

But, when Microsoft does it, OMG the SUN is FALLING.

rashil2000 · 4 years ago
Lol why is this downvoted so much? Do people get salty just at the mention of comparison with Apple?
rashil2000 commented on The time has come to replace file systems   didgets.substack.com/p/wh... · Posted by u/pabs3
sumthinprofound · 4 years ago
Still waiting for tabs in WIndows Explorer...
rashil2000 · 4 years ago
You can use http://qttabbar.wikidot.com for native tabs and loads of other useful features. Even works on Windows 11.
rashil2000 commented on Windows 11 Pro will soon require a Microsoft Account during initial setup   theverge.com/2022/2/18/22... · Posted by u/SoapSeller
Egoist · 4 years ago
“The changes will mirror the same requirements Microsoft originally added to Windows 11 Home last year, meaning you won’t be able to avoid Microsoft Accounts by creating a local user account during setup.”

If I remember correctly, when you install Win11 Home, it forces you to login with a Microsoft account. But the easy workaround is to unplug the ethernet cable, windows will realize it can’t connect and the local account option should appear.

Nevertheless, It’s stupid that MS wants this behavior by default

rashil2000 · 4 years ago
There are so many (and so simple) workarounds that it almost feels intentional. My favourite one is typing "a@a.com" as email, literally anything as password, and this will throw an error and viola, prompt you to create a local account. Been using this in the latest Windows 11 Dev builds, no MSA required. Even Microsoft Store works without MSA!
rashil2000 commented on Getting Started with Git Bash   git-tower.com/blog/git-ba... · Posted by u/brlnwest
jancsika · 4 years ago
how does git bash

versus

msys2?

E.g., with msys2 i can install sshd so that I can use a windows vm as a gitlab runner. I can also use pacman to install build deps.

Can i with git bash?

rashil2000 · 4 years ago
No, Git Bash is a custom, stripped-down version of MSYS2 (with MinGW Git and its dependencies installed). It does not include pacman.

If you want to use pacman you can either use Git Windows SDK, or just plain MSYS2.

u/rashil2000

KarmaCake day77May 28, 2020View Original