facebook / PathPicker

PathPicker accepts a wide range of input -- output from git commands, grep results, searches -- pretty much anything. After parsing the input, PathPicker presents you with a nice UI to select which files you're interested in. After that you can open them in your favorite editor or execute arbitrary commands.
https://facebook.github.io/PathPicker/
MIT License
5.11k stars 283 forks source link

Fix command mode #401

Closed KapJI closed 3 years ago

KapJI commented 3 years ago

In fact curses.getstr() should always return bytes: https://docs.python.org/3/library/curses.html#curses.window.getstr but typeshed thinks differently: https://github.com/python/typeshed/blob/master/stdlib/_curses.pyi#L400

Also get rid of Union which was bad.

Fixes #400