From 4f92d34d1a73eeb32d5871ddbc457f4e3f9992c2 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Mon, 25 Aug 2025 11:03:39 +0100 Subject: [PATCH] simplified the cursor preview view --- ShhShell/Views/Settings/SettingsView.swift | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/ShhShell/Views/Settings/SettingsView.swift b/ShhShell/Views/Settings/SettingsView.swift index c3a6133..e0eb0c8 100644 --- a/ShhShell/Views/Settings/SettingsView.swift +++ b/ShhShell/Views/Settings/SettingsView.swift @@ -55,18 +55,16 @@ struct SettingsView: View { } Section("Cursor") { - ZStack(alignment: .leading) { - HStack(spacing: 0) { - Text("neon443") - .font(.largeTitle).monospaced() - .foregroundStyle(.terminalGreen) - Text(" ~ ") - .font(.largeTitle).monospaced() - .foregroundStyle(.blue) - Text(">") - .font(.largeTitle).monospaced() - .foregroundStyle(.blue) - } + HStack(spacing: 20) { + Text("neon443") + .font(.largeTitle).monospaced() + .foregroundStyle(.terminalGreen) + Text("~") + .font(.largeTitle).monospaced() + .foregroundStyle(.blue) + Text(">") + .font(.largeTitle).monospaced() + .foregroundStyle(.blue) Group { switch hostsManager.settings.cursorType.cursorShape { case .block: @@ -81,7 +79,7 @@ struct SettingsView: View { .padding(.top, 36) } } - .padding(.leading, 248) +// .padding(.leading, 248) .onChange(of: hostsManager.settings.cursorType.blink) { _ in startBlinkingIfNeeded() }