cli_menu icon indicating copy to clipboard operation
cli_menu copied to clipboard

Don't work on Windows 10

Open shinayser opened this issue 5 years ago • 1 comments

Hey @filiph!

I just tried the library on Windows 10 via CMD or POWERSHELL. The "choice arrow" feature didn't work on any cases.

shinayser avatar Aug 07 '20 20:08 shinayser

Thanks for the issue #1!

Yes, the package only supports the arrow on ANSI-compatible terminals. I don't know how to easily make this work on CMD or POWERSHELL.

You might want to check out https://pub.dev/packages/dart_console, which supports such stuff even on Windows. But it does so at the expense of simplicity (it uses FFI to call into win32 APIs).

I'll leave this open but I don't expect to be addressing this in the foreseeable future.

filiph avatar Aug 08 '20 04:08 filiph