Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues in v1.0.0-alpha #36

Open
pvonmoradi opened this issue Sep 18, 2020 · 1 comment
Open

Some issues in v1.0.0-alpha #36

pvonmoradi opened this issue Sep 18, 2020 · 1 comment

Comments

@pvonmoradi
Copy link

I've been using tldr++ version 0.6.1 for some time and it has been a great experience. Thank you very much for developing this!
There are a couple of issues in your latest release (tested on Xubuntu 18.04 in i3wm session) :
1- There is a considerable keyboard input latency (lag) when tldr is invoked (~ 1-2 seconds for each key press). For version 0.6.1 it was maybe ~500 ms.
2- For searching a command, you have to first use "/" which I find redundant. Since the user invokes tldr for searching a command, why make it harder by first pressing another key.
3- The number of default suggestions has been lowered to a couple of lines (personally I preferred the former 6 lines of suggestions).

A couple of feature requests 😉:
4- It would have been nice to be able to exit tldr with Esc key (currently only CTRL+C is possible).
5- When a command is completed in tldr, the command wouldn't get saved to bash history. I think this happens because you directly invoke the command in Go. Maybe you could instead exec the command directly on bash so it would be saved to history (or at least provide the option for doing so).

BTW, I think you should popularize your project more (over hackernews, reddit, etc). I think currently it is the only tldr client with fuzzy search + interactive completion of CLI tools switches.
Cheers 💯

@isacikgoz
Copy link
Owner

isacikgoz commented Sep 21, 2020

Hey @pvonmoradi thanks for the feedback! I really appreciate it 🚀

As for the issues:
1- Yes, when I get the chance I can review the search algorithm and explore possibilities to improve its performance. The performance is reduced because as you might noticed I changed the UI to my own library. But it need some fine tuning!
2- Actually I can add an option to start in search mode. My library supports it 👍 See https://github.com/isacikgoz/gitin
3- That is also supported. You can arrange your line size :) You need to export the environment variables:

  TLDR_LINESIZE=<int>
  TLDR_STARTINSEARCH=<bool>
  TLDR_DISABLECOLOR=<bool>

For the feature requests:
4- There was a reason that I picked CTRL-C but I don't remember it atm. I can think about this nonetheless.
5- Hmm, this is a very neat idea. I will look into this subject. I'd like to have the command is saved in the shell history as well.

I will need some help on spreading the word about this tool. But first things first I need to make this tool ready to be used by thousands w/o trouble :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants