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

PLEASE SEND PRS TO linenoise.cpp #236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericcurtin
Copy link

@andreca
Copy link

andreca commented Jan 15, 2025

Hello @ericcurtin, are you the new maintainer?

@ericcurtin
Copy link
Author

ericcurtin commented Jan 15, 2025

I wrote a new C++ version of it because I want to make it a little safer (and I also want to build it with C++ compilers, plan on using it for llama.cpp). I offer to maintain this fork, feel free to send any patches that you may have intended to send to the C version.

@ericcurtin
Copy link
Author

@mzhang28 I'm surprised this got a thumbs down, nothing has been merged here in 11 months, it's essentially unmaintained, I'm offering to change that.

@yhirose
Copy link

yhirose commented Jan 27, 2025

@ericcurtin does your version have a UTF-8 string support which is lacking in the original linenoise? If so, I am interested in yours. :)

Here is my pull request to add UTF-8 support to the original linenoise. (Currently, it supports the latest Unicode 16.0.)
https://github.com/antirez/linenoise/pull/187/files
#25

@ericcurtin
Copy link
Author

@yhirose if you open a PR for that in linenoise.cpp , write some unit tests, we can get it reviewed and merged.

@yhirose
Copy link

yhirose commented Jan 27, 2025

Great! I'll try to migrate my patch to linenoise.cpp and send the PR to your project. :)

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

Successfully merging this pull request may close these issues.

3 participants