diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-15 15:06:32 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-15 15:06:32 -0700 |
commit | 46883738a287a5eb1cfae71ab1f6127450f7554f (patch) | |
tree | 057ade81f0c5b218c36bd19c0932bd0ff8dbb1e6 /extension/src/diffs.ts | |
parent | 925c3e0ef45d9eb01a8f6c1efd239fa011492bd2 (diff) | |
download | sncontinue-46883738a287a5eb1cfae71ab1f6127450f7554f.tar.gz sncontinue-46883738a287a5eb1cfae71ab1f6127450f7554f.tar.bz2 sncontinue-46883738a287a5eb1cfae71ab1f6127450f7554f.zip |
use correct label for meta key
Diffstat (limited to 'extension/src/diffs.ts')
-rw-r--r-- | extension/src/diffs.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/src/diffs.ts b/extension/src/diffs.ts index d04f9bdb..9d0c9fe7 100644 --- a/extension/src/diffs.ts +++ b/extension/src/diffs.ts @@ -3,6 +3,7 @@ import * as path from "path"; import * as fs from "fs"; import * as vscode from "vscode"; import { extensionContext, ideProtocolClient } from "./activation/activate"; +import { getMetaKeyLabel } from "./util/util"; interface DiffInfo { originalFilepath: string; @@ -86,7 +87,7 @@ class DiffManager { ) { vscode.window .showInformationMessage( - "Accept (⌘⇧↩) or reject (⌘⇧⌫) at the top of the file.", + `Accept (${getMetaKeyLabel()}⇧↩) or reject (${getMetaKeyLabel()}⇧⌫) at the top of the file.`, "Got it", "Don't show again" ) |