-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/viewcore: migrate from chzyer/readline to ergochat/readline
Module ergochat/readline is a fork that is actively maintained and includes numerous bug fixes that are not present in the original module. Additionally, this change reduces the number of indirect dependencies by removing the need for github.com/chzyer/logex and github.com/chzyer/test. Details: - Updated imports and removed old module dependencies. - Replaced Terminal field references with Stdout method calls for shell output. - Modified the cmdToCompleter function to adapt to the new PrefixCompleter structure. - Ensured the completion tree is built using the new SetChildren and Children methods. Signed-off-by: Mikel Olasagasti Uranga <[email protected]>
- Loading branch information
1 parent
2917a7a
commit cac3e03
Showing
3 changed files
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters