20 lines
425 B
C++
20 lines
425 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace tools {
|
|
|
|
std::string get_cwd();
|
|
void clear_screen();
|
|
void sleep_ms(uint32_t ms);
|
|
|
|
// 默认的动作记录文件路径:../actions/recorded_points.csv
|
|
std::string get_actions_record_path();
|
|
|
|
// Generic string trim helper (both sides whitespace)
|
|
std::string trim(const std::string &s);
|
|
|
|
// Read a trimmed line from stdin (Linux)
|
|
std::string get_line_trimmed();
|
|
|
|
} // namespace tools
|