File tree Expand file tree Collapse file tree 6 files changed +2
-62
lines changed
FluentTerminal.SystemTray/Services Expand file tree Collapse file tree 6 files changed +2
-62
lines changed Original file line number Diff line number Diff line change 7979 <RowDefinition />
8080 <RowDefinition />
8181 <RowDefinition />
82- <RowDefinition />
8382 </Grid .RowDefinitions>
8483
8584 <!-- Row -->
124123 Margin =" 0,8,0,0"
125124 Content =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseConPty}"
126125 IsChecked =" {x:Bind ViewModel.UseConPty, Mode=TwoWay}" />
127-
128- <!-- Row -->
129- <CheckBox
130- Grid.Row=" 3"
131- Grid.Column=" 0"
132- Grid.ColumnSpan=" 2"
133- Margin =" 0,8,0,0"
134- Content =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseBuffer}"
135- IsChecked =" {x:Bind ViewModel.UseBuffer, Mode=TwoWay}" />
136-
137126 </Grid >
138127 </controls : Expander >
139128
Original file line number Diff line number Diff line change 129129 <RowDefinition />
130130 <RowDefinition />
131131 <RowDefinition />
132- <RowDefinition />
133132 </Grid .RowDefinitions>
134133
135134 <!-- Row -->
209208 Margin =" 0,8,0,0"
210209 Content =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseConPty}"
211210 IsChecked =" {x:Bind ViewModel.UseConPty, Mode=TwoWay}" />
212-
213- <!-- Row -->
214- <CheckBox
215- Grid.Row=" 4"
216- Grid.Column=" 0"
217- Grid.ColumnSpan=" 4"
218- Margin =" 0,8,0,0"
219- Content =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseBuffer}"
220- IsChecked =" {x:Bind ViewModel.UseBuffer, Mode=TwoWay}" />
221-
222211 </Grid >
223212 </controls : Expander >
224213
Original file line number Diff line number Diff line change 249249 IsEnabled =" {x:Bind InEditMode, Mode=OneWay}"
250250 IsOn =" {x:Bind ProfileVm.UseConPty, Mode=TwoWay}" />
251251
252- <ToggleSwitch
253- x : Uid =" UseBuffer"
254- Margin =" {StaticResource ItemMargin}"
255- Header =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseBuffer}"
256- IsEnabled =" {x:Bind InEditMode, Mode=OneWay}"
257- IsOn =" {x:Bind ProfileVm.UseBuffer, Mode=TwoWay}" />
258-
259252 <StackPanel Margin =" {StaticResource ItemMargin}" >
260253 <TextBlock
261254 x : Uid =" EnvironmentVariables"
350343 FontWeight =" Light" />
351344 </controls : HeaderedContentControl >
352345
353- <controls : HeaderedContentControl
354- Margin =" {StaticResource ItemMargin}"
355- HorizontalContentAlignment =" Stretch"
356- Header =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseBuffer}" >
357- <ContentControl
358- Margin =" 0,6,0,0"
359- Content =" {x:Bind ProfileVm.UseBuffer, Mode=OneWay}"
360- ContentTemplateSelector =" {StaticResource UseConPtyTemplateSelector}"
361- FontSize =" 18"
362- FontWeight =" Light" />
363- </controls : HeaderedContentControl >
364-
365346 <controls : HeaderedContentControl
366347 Margin =" {StaticResource ItemMargin}"
367348 HorizontalContentAlignment =" Stretch"
Original file line number Diff line number Diff line change 291291 IsEnabled =" {x:Bind InEditMode, Mode=OneWay}"
292292 IsOn =" {x:Bind ProfileVm.UseConPty, Mode=TwoWay}" />
293293
294- <ToggleSwitch
295- Margin =" {StaticResource ItemMargin}"
296- Header =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseBuffer}"
297- IsEnabled =" {x:Bind InEditMode, Mode=OneWay}"
298- IsOn =" {x:Bind ProfileVm.UseBuffer, Mode=TwoWay}" />
299-
300294 <StackPanel Margin =" {StaticResource ItemMargin}" >
301295 <TextBlock
302296 x : Uid =" EnvironmentVariables"
468462 FontWeight =" Light" />
469463 </controls : HeaderedContentControl >
470464
471- <controls : HeaderedContentControl
472- Margin =" {StaticResource ItemMargin}"
473- HorizontalContentAlignment =" Stretch"
474- DataContext =" {Binding ProfileVm}"
475- Header =" {x:Bind Converter={StaticResource I18NConverter}, ConverterParameter=UseBuffer}" >
476- <ContentControl
477- Margin =" 0,6,0,0"
478- Content =" {Binding UseBuffer, Mode=OneWay}"
479- ContentTemplateSelector =" {StaticResource UseConPtyTemplateSelector}"
480- FontSize =" 18"
481- FontWeight =" Light" />
482- </controls : HeaderedContentControl >
483-
484465 <controls : HeaderedContentControl
485466 Margin =" {StaticResource ItemMargin}"
486467 HorizontalContentAlignment =" Stretch"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void Resize(TerminalSize size)
3434
3535 public void Start ( CreateTerminalRequest request , TerminalsManager terminalsManager )
3636 {
37- _enableBuffer = request . Profile . UseBuffer ;
37+ _enableBuffer = false ; // request.Profile.UseBuffer;
3838
3939 _reader ? . Dispose ( ) ;
4040 _reader = null ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class WinPtySession : ITerminalSession
2222
2323 public void Start ( CreateTerminalRequest request , TerminalsManager terminalsManager )
2424 {
25- _enableBuffer = request . Profile . UseBuffer ;
25+ _enableBuffer = false ; // request.Profile.UseBuffer;
2626
2727 Id = request . Id ;
2828 _terminalsManager = terminalsManager ;
You can’t perform that action at this time.
0 commit comments