digital-science / dimcli

Python client and CLI for scientometrics and research analytics using the Dimensions API.
https://digital-science.github.io/dimcli/getting-started.html
MIT License
43 stars 6 forks source link

CLI: query history is backwards #80

Open k2d222 opened 2 months ago

k2d222 commented 2 months ago

In the CLI, the query history is reversed. Pressing the up-arrow key (or ctrl+p) should show the most recent query. Instead, it shows the oldest.

dimcli version = 1.2 (Windows)

lambdamusic commented 3 weeks ago

Can't reproduce it, but maybe this SO thread is relevant?

PS The built-in history is a little buggy anyways, we may consider removing it or replacing it with in-memory history