win_fix_multi_tab: win clipboard refactor

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-10-27 10:56:14 +08:00
parent 702c81cafe
commit db99eccbe0
10 changed files with 66 additions and 27 deletions

View File

@@ -567,7 +567,7 @@ pub fn make_fd_flutter(id: i32, entries: &Vec<FileEntry>, only_count: bool) -> S
}
pub fn get_cur_session_id() -> String {
*CUR_SESSION_ID.read().unwrap()
CUR_SESSION_ID.read().unwrap().clone()
}
pub fn set_cur_session_id(id: String) {