xaizek / libcursedrl (License: GPLv3+) (since 2019-03-24)
libcursed extension for integration with readline.
Commit 3e73f3c585919a946bdf136f64c9ad1ae9945e56

Fix PromptRequest::prompt() never returning error
`std::wstring()` calls "got response" constructor of PromptResult()
during implicit conversion.
Author: xaizek
Author date (UTC): 2020-09-20 12:10
Committer name: xaizek
Committer date (UTC): 2020-09-20 12:11
Parent(s): 194ab84b1f4185a7451f33146bfff2a812457013
Signing key: 99DC5E4DB05F6BE2
Tree: c3b0c64c93a55a4e9134b8ba9165c1825048d82c
File Lines added Lines deleted
PromptRequest.cpp 1 1
File PromptRequest.cpp changed (mode: 100644) (index e4e7fd5..ecb1380)
... ... PromptRequest::prompt(const std::wstring &invitation,
171 171 add_history(line.get()); add_history(line.get());
172 172 } }
173 173
174 return (cancelled ? std::wstring() : cursed::toWide(line.get()));
174 return (cancelled ? PromptResult() : cursed::toWide(line.get()));
175 175 } }
176 176
177 177 void void
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/libcursedrl

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/libcursedrl

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master