diff --git a/src/hakurei.cpp b/src/hakurei.cpp index 66a32f8..8d5fa78 100644 --- a/src/hakurei.cpp +++ b/src/hakurei.cpp @@ -1,3 +1,5 @@ +// filename: hakurei.cpp + #include #include #include @@ -241,12 +243,14 @@ int main(const int argc, char* argv[]) { } } - std::string search_string = get_input(argc, argv, goldendict_mode); - log_internal("Search string: " + search_string); - if (goldendict_mode && !sentence.empty()) { - search_string = sentence; - log_internal("Search string overridden by sentence: " + search_string); - } + log_internal("Trying to get the search string..."); + + std::string search_string = sentence; + //log_internal("Search string: " + search_string); + //if (goldendict_mode && !sentence.empty()) { + //search_string = sentence; + // log_internal("Search string overridden by sentence: " + search_string); + // } // Log the execution details log_execution(argc, argv, search_string, dict_file, debug_mode, goldendict_mode);