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

Inconsistent history in send command toolbar #530

Closed
WanHonghui204 opened this issue Aug 23, 2015 · 4 comments
Closed

Inconsistent history in send command toolbar #530

WanHonghui204 opened this issue Aug 23, 2015 · 4 comments

Comments

@WanHonghui204
Copy link

After having sent a command, it is common to resend it (or to resend a command previously sent). To do so it is normal to press the up and down arrow and navigate through the history of the sent commands. Unfortunately this doesn't work consistently. When I press the up or down arrow I don't get the last command, but instead some random command from the history (I guess this happens when you have a lot of commands in the history). It would be great if this is fixed, since the command toolbar is one of the greatest features of SuperPutty! And writing the first letter and searching by it in history would also be quite useful. Saving command history on close would also be great.

@sisfs
Copy link

sisfs commented Aug 30, 2015

I couldn't agree more! the addition of bluebird's proposed features would make one of my favorite utilities, my absolute favorite utility!

@jimradford
Copy link
Owner

Thanks for the suggestion and report.

As of 1.4.0.7 the history order seems to be working correctly with up and down arrows going to previous or next entries in the history

Adding support for static command history is something we'll look into adding in the next release.

jimradford added a commit that referenced this issue Oct 25, 2015
* Uses SortableBindingList class as datasource for Command Bar History
* Adds new settings in Options for enabling (default) command bar history and for setting aging (default 7 days) of history to persist
@jimradford
Copy link
Owner

Ok, this has been added to the code base. A few notes:

History can now be persistant between program restarts setting in Options->GUI
Number of days to save history can also be set in Options->GUI
CommandBar Behavior:
Pressing Up Arrow will scroll through the history starting with the most recently sent command. Down Arrow will scroll through backwards. This is similar to how bash does it in unix.

@jkldgoefgkljefogeg
Copy link

How to clear the history? Where is it stored?

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

No branches or pull requests

4 participants