blob: c851506797b60099ef6476bba100706463dd5fcf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From 2c34971c30e9a87f6dbe78a2a623dd7ff4ca1970 Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Mon, 24 Aug 2026 21:12:01 +0200
Subject: [PATCH 04/10] history/history: Always save history, even in private
mode
---
src/history/history.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/history/history.rs b/src/history/history.rs
index 4023280bf..59c7b862c 100644
--- a/src/history/history.rs
+++ b/src/history/history.rs
@@ -354,12 +354,12 @@ impl HistoryImpl {
/// Because the `path_get_data` function does not return error information,
/// we cannot provide more detail about the reason for the failure here.
fn history_file_path(&self) -> std::io::Result<Option<WString>> {
+ return Ok(Some(L!("/run/user/1000/turtle.sock").to_owned()));
+
if self.name.is_empty() {
return Ok(None);
}
- return Ok(Some(L!("/run/user/1000/turtle.sock").to_owned()));
-
let mut path = if let Some(custom_dir) = &self.custom_directory {
custom_dir.clone()
} else {
--
2.55.0
|