Skip to content

Commit 7b1a845

Browse files
committed
Make the default Mac app a little less depressing
1 parent d7da3b4 commit 7b1a845

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Sources/SwiftTerm/Terminal.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ open class Terminal {
544544

545545
public init (delegate: TerminalDelegate, options: TerminalOptions = TerminalOptions.default)
546546
{
547-
installedColors = Color.defaultInstalledColors
547+
installedColors = Color.terminalAppColors
548548
defaultAnsiColors = Color.setupDefaultAnsiColors (initialColors: installedColors)
549549
ansiColors = defaultAnsiColors
550550
tdel = delegate

TerminalApp/MacTerminal/ViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ class ViewController: NSViewController, LocalProcessTerminalViewDelegate, NSUser
122122
super.viewDidLoad()
123123
test ()
124124
terminal = LocalProcessTerminalView(frame: view.frame)
125+
terminal.caretColor = .systemGreen
126+
terminal.getTerminal().setCursorStyle(.steadyBlock)
125127
zoomGesture = NSMagnificationGestureRecognizer(target: self, action: #selector(zoomGestureHandler))
126128
terminal.addGestureRecognizer(zoomGesture!)
127129
ViewController.lastTerminal = terminal

0 commit comments

Comments
 (0)