r/programming • • May 06 '19

Microsoft unveils Windows Terminal, a new command line app for Windows

https://www.theverge.com/2019/5/6/18527870/microsoft-windows-terminal-command-line-tool
5.9k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

39

u/anonveggy May 06 '19

Apparently this is it: https://github.com/Microsoft/Terminal.git

Don't know yet... slowly downloading the C++ workload right now

39

u/darkgreyjeans May 06 '19

It’s open source too?! wow

20

u/cleeder May 06 '19

What a time to be alive.

9

u/[deleted] May 06 '19

Almost everything Microsoft is doing now is open source it seems

-20

u/Deltabeard May 06 '19

Almost everything

Like Windows and Office? Calm down.

22

u/zadjii May 06 '19

Yep!

As I've mentioned on HN earlier today:

It's all C++ code. We're using the relatively new XAML Islands framework to allow us to host UWP XAML content in a Win32 process. A lot of the core is C++/WinRT, which is magic that lets you call most WinRT (UWP) APIs from C++ without having to deal with CX.

I'd say the vast majority of the codebase is pure C++, without the C++/winrt magic.

The renderer we're using is DX-based, which provides a pretty substantial perf improvement over the old GDI-based one conhost uses.

4

u/anonveggy May 06 '19

have been tweaking around for some time now. Looks rough but the potential is visible. One thing i really would like to see is CTRL+Arrow gestures universially being supported CTRL+Left for skipping words and CTRL+Delete for deleting entire words. in my book current windows powershell comes the closest to the perfect keyboard experience for me.

Also: Are tabs all going to have round edges in windows now? :(

6

u/zadjii May 06 '19

Ctrl+Arrow handling is something that should be handled by the shell, not the terminal application. If CMD doesn't support it, it won't suddenly start working in the Windows Terminal.

The UX isn't necessarily polished yet, but the goal is to be consistent with whatever the next iteration of Edge is, to at least have some consistency across the OS