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

Replace chzyer/readline with ergochat/readline #2684

Merged
merged 4 commits into from
Nov 11, 2023

Conversation

dominikschulz
Copy link
Member

The former seemed unmaintained and was lacking patches required for OpenBSD.

See GH-2683.

Some small changes were necessary since the ergochat fork changed the API a bit.

The former seemed unmaintained and was lacking patches required for
OpenBSD.

See gopasspwGH-2683

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@dominikschulz dominikschulz added the cleanup Code hygiene label Nov 3, 2023
@dominikschulz dominikschulz added this to the 1.15.9 milestone Nov 3, 2023
AnomalRoil
AnomalRoil previously approved these changes Nov 3, 2023
Copy link
Member

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jrick
Copy link

jrick commented Nov 3, 2023

The REPL is working well for me with this on OpenBSD.

@dominikschulz
Copy link
Member Author

dominikschulz commented Nov 4, 2023

The problem is that the clear command will be broken on Windows since ergochat/readline doesn't expose a ClearScreen method: ergochat/readline#36

Not sure if we wan't to merge it as is.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
use readline 0.0.6's ClearScreen method
Copy link
Member

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You'll need to rebase to sign-off the last commit of just merge as is without satisfying the DCO.

@dominikschulz
Copy link
Member Author

The code looks good, but I want to quickly tests it before merging. Should be done soon and then we should try to cut a release.

@dominikschulz dominikschulz merged commit 39ecb38 into gopasspw:master Nov 11, 2023
@dominikschulz dominikschulz deleted the readline branch November 11, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code hygiene
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants