@@ -15,7 +15,7 @@ internal class ConsoleGui : IDisposable
1515 {
1616 private const string FILTER_LABEL = "Filter" ;
1717 // This adjusts the left margin of all controls
18- private const int MARGIN_LEFT = 2 ;
18+ private const int MARGIN_LEFT = 1 ;
1919 // Width of Terminal.Gui ListView selection/check UI elements (old == 4, new == 2)
2020 private const int CHECK_WIDTH = 2 ;
2121 private bool _cancelled ;
@@ -302,7 +302,7 @@ private void AddFilter(Window win)
302302 X = Pos . Right ( _filterLabel ) + 1 ,
303303 Y = Pos . Top ( _filterLabel ) ,
304304 CanFocus = true ,
305- Width = Dim . Fill ( ) - _filterLabel . Text . Length
305+ Width = Dim . Fill ( ) - 1
306306 } ;
307307
308308 // TextField captures Ctrl-A (select all text) and Ctrl-D (delete backwards)
@@ -338,7 +338,6 @@ private void AddFilter(Window win)
338338 filterErrorLabel . Text = ex . Message ;
339339 filterErrorLabel . ColorScheme = Colors . Error ;
340340 filterErrorLabel . Redraw ( filterErrorLabel . Bounds ) ;
341- _listView . Source = _inputSource ;
342341 }
343342 } ;
344343
@@ -403,7 +402,7 @@ private void AddListView(Window win)
403402 {
404403 _listView . Y = 1 ; // 1 for space, 1 for header, 1 for header underline
405404 }
406- _listView . Width = Dim . Fill ( 2 ) ;
405+ _listView . Width = Dim . Fill ( 1 ) ;
407406 _listView . Height = Dim . Fill ( ) ;
408407 _listView . AllowsMarking = _applicationData . OutputMode != OutputModeOption . None ;
409408 _listView . AllowsMultipleSelection = _applicationData . OutputMode == OutputModeOption . Multiple ;
0 commit comments