Remember the currently edited command when navigating through the history
Description
In Bash you can begin entering the command, then use Up key to navigate through the history and Down key to get back up to the command you've been editing. Unfortunately, CommandBox "forgets" the current command when doing it, so you can onlty get down to the last executed command. It would be nice to have these things working consistently. Thanks!
This change in JLine3 sounds pretty cool. I'll try things out as soon as v4 is out. Thanks!
Brad Wood December 22, 2017 at 8:30 AM
The Jline3 upgrade seems to have fixed this. Read this ticket for a note on another change in JLine3 regarding history that I rather like. If this is strongly disliked by some, we can provide a way to turn it off.
Brad, thanks for your reply. I can't see your ticket in the JLine bug tracker (although it looks abandoned in general). Could you please comment with direct link to it?
Brad Wood August 10, 2016 at 8:24 PM
Thanks for the ticket Sergii. The history behavior is handled by the JLine Java library so unfortunately I have no control over how it works. It traps your up/down keystrokes and handles what's output to the console.
I have entered this ticket for JLine. Please feel free to comment your "vote" over there. If you know Java, you can also try submitting a pull request to the JLine project.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
In Bash you can begin entering the command, then use Up key to navigate through the history and Down key to get back up to the command you've been editing. Unfortunately, CommandBox "forgets" the current command when doing it, so you can onlty get down to the last executed command. It would be nice to have these things working consistently. Thanks!