buster / rrun

minimalistic command launcher in rust
GNU General Public License v2.0
112 stars 14 forks source link

Revert order of completions, first id then text #25

Closed nightscape closed 8 years ago

nightscape commented 8 years ago

Hi @buster,

I'd like to do this change before it's too late: Let's switch the order of arguments that is assumed when reading completions that contain a TAB. We always need an id, so it should be the first argument. The following arguments then are optional and can later be used to include e.g. icons or longer descriptions.

I've just implemented the caching idea and would like to do this change before anyone starts using the cache and gets surprised because text and id are switched.

ghost commented 8 years ago

No problem