-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
29 lines (25 loc) · 1.35 KB
/
Copy pathMainWindow.xaml
File metadata and controls
29 lines (25 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="TermExample.WinUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TermExample.WinUI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:term="using:EasyWindowsTerminalControl"
mc:Ignorable="d"
Title="TermExample.WinUI">
<Grid Name="gridMain" ColumnSpacing="3" RowSpacing="3">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<term:EasyTerminalControl x:Name="basicTermControl" StartupCommandLine="{x:Bind binds.StartupCommand}" Theme="{x:Bind binds.Theme, Mode=OneWay}" FontFamilyWhenSettingTheme="Consolas" LogConPTYOutput="True" Win32InputMode="True" InputCapture="TabKey,DirectionKeys" >
</term:EasyTerminalControl>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1">
<Button Content="Duplicate New" Click="DuplicateClicked" Margin="5" />
<Button Content="Clear Term" Click="ClearTermClicked" Margin="5" />
<Button Content="Restart Term" Click="RestartTermClicked" Margin="5" />
<Button Content="Show Buffer" Click="ShowBufferClicked" Margin="5" />
</StackPanel>
</Grid>
</Window>