Skip to main content

write_to_report

Function write_to_report 

Source
pub fn write_to_report(content: &str, config: &mut YamlConfig) -> bool
Expand description

将一条内容写入日报(供外部模块调用,如 todo 完成时联动写入) 返回 true 表示写入成功 注意:此函数静默执行,不输出任何 info!/error!,适合在 TUI raw mode 下调用