BlueRedSkyLTD / PowerDir

PowerDir is a PowerShell 7 module as alternative to Get-ChildItem
Other
0 stars 2 forks source link

writing keys in the buffer invalidates the query terminal escape code response #47

Open Raffaello opened 2 years ago

Raffaello commented 2 years ago

writing commands in a quick succession that powerdir still didn't processed the escape code query will break recognize supporting escape codes and it will also mess with the following buffered user input.

i don't think there is a fix for this unless to clear the buffer before query the terminal if supporting the escape codes.

unless escape codes detection is done at the install phase and saved in environmental variable / config file.

how to determine it during install probably need to be a small side-script to return just true/false kind of.