1243 git add .
1244 git commit -m "zh-CN to zh-Hans" 1245 git push 1246 git commit --amend -- 1247 git commit --amend --no-edit -S 1248 git push 1249 cloc --vcs=git 1250 ls -l 1251 cd WorkspaceActivitySupport/ 1252 ls 1253 cat WorkspaceActivityAttributes.swift 1254 cd .. 1255 ls 1256 cat Memory/ARCHITECTURE.md 1257 git commit -m "`history` to `commandHistory`" 1258 git add . to
This commit is contained in:
1 parent
abaa6a2f8a
commit
c58100558c
1 file changed
+3
-3
@@ -12,7 +12,7 @@ import UniformTypeIdentifiers
|
||||
struct MobileWorkspaceView: View {
|
||||
private enum TerminalSheet: String, Identifiable {
|
||||
case snippets
|
||||
case history
|
||||
case commandHistory
|
||||
case sftpHistory
|
||||
|
||||
var id: String { rawValue }
|
||||
@@ -102,7 +102,7 @@ struct MobileWorkspaceView: View {
|
||||
.keyboardShortcut("i", modifiers: .command)
|
||||
Divider()
|
||||
Button("Snippets", systemImage: "curlybraces") { terminalSheet = .snippets }
|
||||
Button("History", systemImage: "clock") { terminalSheet = .history }
|
||||
Button("History", systemImage: "clock") { terminalSheet = .commandHistory }
|
||||
Divider()
|
||||
Button("Next Match", systemImage: "chevron.down") {
|
||||
workspace.find.presentAndNavigate(.next)
|
||||
@@ -171,7 +171,7 @@ struct MobileWorkspaceView: View {
|
||||
switch sheet {
|
||||
case .snippets:
|
||||
MobileTerminalSnippetsView(library: library, workspace: workspace)
|
||||
case .history:
|
||||
case .commandHistory:
|
||||
MobileCommandHistoryView(workspace: workspace)
|
||||
case .sftpHistory:
|
||||
MobileSFTPHistoryView(workspace: workspace, open: reopenHistory)
|
||||
|
||||
Reference in new issue
Block a user