mirror of
https://github.com/Dushistov/sdcv.git
synced 2026-03-25 05:20:24 +00:00
Merge 23f09bf26c into 49c8094b53
This commit is contained in:
@@ -415,10 +415,9 @@ search_result Library::process_phrase(const char *loc_str, IReadLine &io, bool f
|
|||||||
colorize_output_ ? ESC_END : "");
|
colorize_output_ ? ESC_END : "");
|
||||||
}
|
}
|
||||||
int choise;
|
int choise;
|
||||||
std::unique_ptr<IReadLine> choice_readline(create_readline_object());
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
std::string str_choise;
|
std::string str_choise;
|
||||||
choice_readline->read(_("Your choice[-1 to abort]: "), str_choise);
|
io.read(_("Your choice[-1 to abort]: "), str_choise);
|
||||||
sscanf(str_choise.c_str(), "%d", &choise);
|
sscanf(str_choise.c_str(), "%d", &choise);
|
||||||
if (choise >= 0 && choise < int(res_list.size())) {
|
if (choise >= 0 && choise < int(res_list.size())) {
|
||||||
sdcv_pager pager;
|
sdcv_pager pager;
|
||||||
|
|||||||
Reference in New Issue
Block a user