-
Notifications
You must be signed in to change notification settings - Fork 674
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
Win32 port #8
Comments
Crap, no attachments. Apologies for the code dump, I'll set up a repo here when I get time.
|
FWIW, I have integrated win32 console support into my fork of linenoise (see msteveb@85f6003) |
Cool stuff. I see you are listed as the author, could you put an ack in the comments? Cheers From: Steve Bennett [email protected] FWIW, I have integrated win32 console support into my fork of linenoise (see msteveb@85f6003) Reply to this email directly or view it on GitHub: |
Sure. See the latest commit in my fork. |
Brilliant, cheers mate :) J From: Steve Bennett [email protected] Sure. See the latest commit in my fork. Reply to this email directly or view it on GitHub: |
Sorry for gravedigging, but did anything ever come of this? I was looking at linenoise (via rust-linenoise), but the current master has no win32 support by the looks of it, and I've been looking for something readline-esque that works on bofh *nix and win32 =( |
Is there ever going to be work to make this part of the project itself?? |
Hi,
I needed a win32 port. The attached is not particularly clean, but it works fine for me. Compiled with VS 2005. I did it as a separate file since ifdef'ing the existing code got ugly, and it really needs to support raw console mode if its ever going to support emacs key bindings.
I may get time to improve this later in which case I'll update it here. Currently it supports basic line editing and home/end, but no ctrl+key shortcuts, i.e. enough to scratch my immediate itch. If you #define ALT_KEYS you can have ALT+key mappings, but after trying this for a while, my fingers couldn't really adjust to it.
Cheers,
Jon
The text was updated successfully, but these errors were encountered: