Skip to content

Commit d4d59fa

Browse files
committed
Initial release of the Windows Terminal source code
This commit introduces all of the Windows Terminal and Console Host source, under the MIT license.
0 parents  commit d4d59fa

File tree

1,165 files changed

+182749
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,165 files changed

+182749
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* -text
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

+245
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# User-specific files (MonoDevelop/Xamarin Studio)
11+
*.userprefs
12+
13+
# Build results
14+
[Dd]ebug/
15+
[Dd]ebugPublic/
16+
[Rr]elease/
17+
[Rr]eleases/
18+
x64/
19+
x86/
20+
build/
21+
bld/
22+
[Bb]in/
23+
[Oo]bj/
24+
objfre/
25+
objchk/
26+
27+
# Visual Studio 2015 cache/options directory
28+
.vs/
29+
30+
# Visual Studio Code cache/options directory
31+
.vscode/
32+
33+
# MSTest test Results
34+
[Tt]est[Rr]esult*/
35+
[Bb]uild[Ll]og.*
36+
37+
# NUNIT
38+
*.VisualState.xml
39+
TestResult.xml
40+
41+
# Build Results of an ATL Project
42+
[Dd]ebugPS/
43+
[Rr]eleasePS/
44+
dlldata.c
45+
46+
# DNX
47+
project.lock.json
48+
artifacts/
49+
50+
*_i.c
51+
*_p.c
52+
*_i.h
53+
*.ilk
54+
*.meta
55+
*.obj
56+
*.pch
57+
*.pdb
58+
*.pgc
59+
*.pgd
60+
*.rsp
61+
*.sbr
62+
*.tlb
63+
*.tli
64+
*.tlh
65+
*.tmp
66+
*.tmp_proj
67+
*.log
68+
*.vspscc
69+
*.vssscc
70+
.builds
71+
*.pidb
72+
*.svclog
73+
*.scc
74+
75+
# Chutzpah Test files
76+
_Chutzpah*
77+
78+
# Visual C++ cache files
79+
ipch/
80+
*.aps
81+
*.ncb
82+
*.opensdf
83+
*.sdf
84+
*.cachefile
85+
86+
# Visual Studio profiler
87+
*.psess
88+
*.vsp
89+
*.vspx
90+
91+
# TFS 2012 Local Workspace
92+
$tf/
93+
94+
# Guidance Automation Toolkit
95+
*.gpState
96+
97+
# ReSharper is a .NET coding add-in
98+
_ReSharper*/
99+
*.[Rr]e[Ss]harper
100+
*.DotSettings.user
101+
102+
# JustCode is a .NET coding add-in
103+
.JustCode
104+
105+
# TeamCity is a build add-in
106+
_TeamCity*
107+
108+
# DotCover is a Code Coverage Tool
109+
*.dotCover
110+
111+
# NCrunch
112+
_NCrunch_*
113+
.*crunch*.local.xml
114+
115+
# MightyMoose
116+
*.mm.*
117+
AutoTest.Net/
118+
119+
# Web workbench (sass)
120+
.sass-cache/
121+
122+
# Installshield output folder
123+
[Ee]xpress/
124+
125+
# DocProject is a documentation generator add-in
126+
DocProject/buildhelp/
127+
DocProject/Help/*.HxT
128+
DocProject/Help/*.HxC
129+
DocProject/Help/*.hhc
130+
DocProject/Help/*.hhk
131+
DocProject/Help/*.hhp
132+
DocProject/Help/Html2
133+
DocProject/Help/html
134+
135+
# Click-Once directory
136+
publish/
137+
138+
# Publish Web Output
139+
*.[Pp]ublish.xml
140+
*.azurePubxml
141+
## TODO: Comment the next line if you want to checkin your
142+
## web deploy settings but do note that will include unencrypted
143+
## passwords
144+
#*.pubxml
145+
146+
*.publishproj
147+
148+
# NuGet Packages
149+
*.nupkg
150+
# The packages folder can be ignored because of Package Restore
151+
**/packages/*
152+
# except build/, which is used as an MSBuild target.
153+
!**/packages/build/
154+
# Uncomment if necessary however generally it will be regenerated when needed
155+
#!**/packages/repositories.config
156+
157+
# Windows Azure Build Output
158+
csx/
159+
*.build.csdef
160+
161+
# Windows Store app package directory
162+
AppPackages/
163+
164+
# Visual Studio cache files
165+
# files ending in .cache can be ignored
166+
*.[Cc]ache
167+
# but keep track of directories ending in .cache
168+
!*.[Cc]ache/
169+
170+
# Others
171+
ClientBin/
172+
[Ss]tyle[Cc]op.*
173+
~$*
174+
*~
175+
*.dbmdl
176+
*.dbproj.schemaview
177+
*.pfx
178+
*.publishsettings
179+
node_modules/
180+
orleans.codegen.cs
181+
182+
# RIA/Silverlight projects
183+
Generated_Code/
184+
185+
# Backup & report files from converting an old project file
186+
# to a newer Visual Studio version. Backup files are not needed,
187+
# because we have git ;-)
188+
_UpgradeReport_Files/
189+
Backup*/
190+
UpgradeLog*.XML
191+
UpgradeLog*.htm
192+
193+
# SQL Server files
194+
*.mdf
195+
*.ldf
196+
197+
# Business Intelligence projects
198+
*.rdl.data
199+
*.bim.layout
200+
*.bim_*.settings
201+
202+
# Microsoft Fakes
203+
FakesAssemblies/
204+
205+
# Node.js Tools for Visual Studio
206+
.ntvs_analysis.dat
207+
208+
# Visual Studio 6 build log
209+
*.plg
210+
211+
# Visual Studio 6 workspace options file
212+
*.opt
213+
214+
# LightSwitch generated files
215+
GeneratedArtifacts/
216+
_Pvt_Extensions/
217+
ModelManifest.xml
218+
*.opendb
219+
*.db
220+
221+
# Windows Build System files
222+
build*.dbb
223+
build*.err
224+
build*.evt
225+
build*.log
226+
build*.prf
227+
build*.trc
228+
build*.rec
229+
build*.wrn
230+
build*.metadata
231+
232+
# .razzlerc.cmd file - used by dev environment
233+
tools/.razzlerc.*
234+
# message compiler output
235+
MSG*.bin
236+
/*.exe
237+
238+
# python
239+
*.pyc
240+
241+
**Generated Files/
242+
**/Merged/*
243+
**/Unmerged/*
244+
profiles.json
245+
*.metaproj

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "dep/gsl"]
2+
path = dep/gsl
3+
url = https://github.com/Microsoft/gsl
4+
[submodule "dep/wil"]
5+
path = dep/wil
6+
url = https://github.com/Microsoft/wil

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) Microsoft Corporation. All rights reserved.
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

NuGet.Config

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
5+
<!-- Add repositories here to the list of available repositories -->
6+
7+
<!-- Dependencies that we must carry because they're not on public nuget feeds right now. -->
8+
<add key="Static Package Dependencies" value="dep\packages" />
9+
10+
<!-- Internal NuGet feeds that may not be accessible outside Microsoft corporate network -->
11+
<!--<add key="TAEF - internal" value="https://microsoft.pkgs.visualstudio.com/DefaultCollection/_packaging/Taef/nuget/v3/index.json" />
12+
<add key="OpenConsole - Internal" value="https://microsoft.pkgs.visualstudio.com/_packaging/OpenConsole/nuget/v3/index.json" />-->
13+
</packageSources>
14+
</configuration>

0 commit comments

Comments
 (0)