mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
simplified the cursor preview view
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user