From a3a05fee312ad7c04d2abb0e186da55c7d061462 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 2 Oct 2023 12:27:05 -0700 Subject: fix: :bug: change for/backwardslash decoding scheme --- extension/react-app/src/pages/history.tsx | 2 +- extension/src/diffs.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'extension') diff --git a/extension/react-app/src/pages/history.tsx b/extension/react-app/src/pages/history.tsx index 01cb71e0..63024e36 100644 --- a/extension/react-app/src/pages/history.tsx +++ b/extension/react-app/src/pages/history.tsx @@ -148,7 +148,7 @@ function History() { } return workspacePaths.includes(session.workspace_directory); }).length === 0 && ( -
+
No past sessions found. To start a new session, either click the "+" button or use the keyboard shortcut: Option + Command + N
diff --git a/extension/src/diffs.ts b/extension/src/diffs.ts index 426415fc..bdf9903b 100644 --- a/extension/src/diffs.ts +++ b/extension/src/diffs.ts @@ -62,9 +62,7 @@ class DiffManager { } private escapeFilepath(filepath: string): string { - return filepath - .replace(/\//g, "$forwardslash$") - .replace(/\\/g, "$backslash$"); + return filepath.replace(/\//g, "$f$").replace(/\\/g, "$b$"); } private remoteTmpDir: string = "/tmp/continue"; -- cgit v1.2.3-70-g09d2