Live data from Hacker News

Typing inside of the default WSL terminal feels amazing (2018)

github.com

91–100 of 123 posts

Re: Typing inside of the default WSL terminal feels amazing (2018)

#91
post #23

Earlier quoted context omitted.

I would be shocked if it were faster.

Depends on the operation in question. Direct syscalls should be faster, but there are some big differences between the NT and Linux kernels. You end up getting all the poor performance areas of BOTH. That, and HyperV has an extremely fast lightweight VM mode for particular hardware. For example, running containers on HyperV actually runs them with VM level isolation, a la Kata containers... and at competitive speeds.…

"to Notepad adding itself to the Context Menu as an "open with Notepad" item"

I believe it's the job of Shell API, not NTFS filters.

Re: Typing inside of the default WSL terminal feels amazing (2018)

#92
post #36

Author of the GitHub issue here. I was surprised to see this title, because I thought "holy cow, finally someone else appreciates low input latency" and then I realized it was my issue haha. By the way, wsltty 3.x also has excellent input latency now too. I've been using it for quite a while now with terminal Vim in WSL and it's about 90% as good as xterm on native Linux in terms of latency. wsltty also has no issues…

How do you measure input latency?

Re: Typing inside of the default WSL terminal feels amazing (2018)

#93
post #89

Earlier quoted context omitted.

Can you post your computer specs? Because it's impossible for me to see any difference between the WSL terminal and Notepad. I can see a tiny difference compared with Electron apps, but I really need to concentrate to see it. My computer is no rocket, is a higher-end desktop from 6 years ago.

Mine is a ~6 year old i5 quad core desktop. A complete list of hardware can be found here: https://nickjanetakis.com/blog/the-tools-i-use#computer-desk... If you can't notice it much, perhaps your monitor has really bad input lag and it's overtaking any difference between terminals. My monitor has very low input lag (about 13ms) but most monitors have 50-60ms or worse. There's another comment in this thread where I g…

Your post How to Pick a Good Monitor for Software Development was really helpful when I was upgrading my home office this fall. Thank you, and anyone else who hasn't specced out a monitor in a while might find it helpful as well:

https://nickjanetakis.com/blog/how-to-pick-a-good-monitor-fo...

Re: Typing inside of the default WSL terminal feels amazing (2018)

#94

> Of course this also means that we have trade offs. We don't support fully international text like pretty much every other application will. RTL? No go zone right now. Surrogate pairs and emoji? We're getting there but not there yet. Indic scripts? Nope. I find it interesting that Even though I don’t care about any of the above features, I still pay for them working with text in other applications. They are a consta…

I could be wrong, but I think the payment for one pays for the others. International text is one of those "a large portion of the world wants this" sorts of features. Once you've gotten that, emojis sort of come along for the ride.

Emojis add complexity that other scripts don't, mostly in the form of color processing (all other scripts are monochrome!).

Re: Typing inside of the default WSL terminal feels amazing (2018)

#95
post #53
post #37

Earlier quoted context omitted.

Alacritty has kind of a lot of input latency, it's noticeably worse than wsltty and the default WSL terminal -- at least back when I checked it a year ago. I think some work has been done to improve it, but at this point IMO if you're on Windows then wsltty is as good as it gets for a general purpose terminal. If you're on Linux, xterm is top notch.

What's top notch on Wayland?

Xorg

Re: Typing inside of the default WSL terminal feels amazing (2018)

#96

wsltty is the most underrated app i use on the regular. i was pumped about the new microsoft terminal for all of 5 seconds, then i used it, what a letdown. with alot of help from wsltty and autohotkey, i am quickly approaching some sort of windows+linux singularity event, https://i.imgur.com/cXykxPN.png

What apps are you using there?

Re: Typing inside of the default WSL terminal feels amazing (2018)

#97
post #80
post #76

Earlier quoted context omitted.

I just want to emphasize that wsltty is the only well-behaving terminal currently available for WSL. It's the only one that supports mouse interaction in a terminal like scrolling/resizing panes in tmux/vim, unlike any Microsoft solution. If you're using WSL on a regular basis, I highly recommend it. Its a huge quality-of-life improvement.

I am fairly certain that the inbox console host supports mouse interaction (with WSL and anything else that uses VT mouse mode). As the engineering lead for the console and terminal projects, though, I’d love to know how else we can improve!

I'm not a terminal wizard but there is one bug that constantly happens in my workflow I'm not sure how to report: if I start a powershell session then ssh into a network switch and then access the serial TTY of a kvm guest running on the switch it sets the terminal size to particular dimensions (as expected). If I exit the serial connection then sometimes the terminal is never restored to normal size, even if I exit ssh back to the original powershell session.

Like I said very easy for me to reproduce but probably hard for you guys and I'm not sure what is breaking or how to capture the session to submit a bug.

.

Also it'd be amazing if profiles could include panes. I find myself almost in need of making an autohotkey script to break the terminal into 4 panes and launch particular ssh commands.

Re: Typing inside of the default WSL terminal feels amazing (2018)

#99
post #36

Author of the GitHub issue here. I was surprised to see this title, because I thought "holy cow, finally someone else appreciates low input latency" and then I realized it was my issue haha. By the way, wsltty 3.x also has excellent input latency now too. I've been using it for quite a while now with terminal Vim in WSL and it's about 90% as good as xterm on native Linux in terms of latency. wsltty also has no issues…

Another vote for low-latency here. It’s tempting to create a YouTube channel dedicated to showing input latencies for common tasks. Question is: how do you make sure no one is cheating?

Use a measurement device and show it in the video.

Like the 1000fps camera used in https://danluu.com/input-lag/

Re: Typing inside of the default WSL terminal feels amazing (2018)

#100
This is great to see. My experience with windows in general is that the typing latency is usually very bad compared to ubuntu. I can literally notice the lag. Plus some apps have these awful typing animations which make typing feel like wading through mud.
Post reply on HN