ConsoleGuiTools icon indicating copy to clipboard operation
ConsoleGuiTools copied to clipboard

OCGV: Filter edit chops off first char of filter string passed on command line

Open tig opened this issue 3 years ago • 2 comments

n3eQi8I 1

Or, do

Get-Process | Out-ConsoleGridView -Filter test

This doesn't appear to impact filter functionality, it's just that the first character is not visible. If one backspace to delete all of the filter string, it DOES delete that first char.

tig avatar Jun 03 '22 03:06 tig

Turns out this is caused by the logic in _filterField.TextChanged that was serendipitously fixed by the upgrade to Terminal.Gui 1.6 in #153.

So once #153 is merged, this issue will be fixed.

tig avatar Jun 03 '22 13:06 tig

I've confirmed this is fixed with the current code in master.

tig avatar Aug 03 '22 21:08 tig

Fixed in #166.

tig avatar Aug 24 '22 12:08 tig