[WIP] Fixes #761: Add comment field to connection definition #871
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP incomplete. See below for discussion items.
Adds a new field to connection definitions and a new command to the
connection group to edit data into the field.
connection edit allows editing the comment of any defined connection and
allows re-editing the text at will.
The editor used is built into prompt-toolkit and allows multiline
editing including adding and deleting lines, moving the cursor with
arrow keys or the mouse, and saving the resulting comment.
This enhances the server definition with an additional field, comment, where the user can include comments on the server definition and a command "connection comment" that allows editing a multiline comment.
An editing session might look as follows with instructions on how to control the edit process. This allows the string to be created and edited. It is automatically saved in the svr definition at the end of each edit session.:```
**
LIMITATIONS/DISCUSSION**the following are a number of the unresolved issues.
a. Wanted to be sure this worked first.
b. This is consistend with delete where you have choice of select on NAME but no option to delete current connection.