Use Atkinson Hyperlegible Next, keeping Mono for code
This commit is contained in:
@@ -77,7 +77,7 @@ struct TerminalHost: NSViewRepresentable {
|
||||
|
||||
func makeNSView(context: Context) -> TerminalView {
|
||||
let t = TerminalView(frame: NSRect(x: 0, y: 0, width: 800, height: 400))
|
||||
t.font = Fonts.ns(13)
|
||||
t.font = Fonts.ns(13, mono: true)
|
||||
t.changeScrollback(5000)
|
||||
t.setCursorStyle(.steadyBlock)
|
||||
t.terminalDelegate = context.coordinator
|
||||
@@ -90,7 +90,7 @@ struct TerminalHost: NSViewRepresentable {
|
||||
}
|
||||
|
||||
func updateNSView(_ nsView: TerminalView, context: Context) {
|
||||
let font = Fonts.ns(13)
|
||||
let font = Fonts.ns(13, mono: true)
|
||||
if nsView.font !== font {
|
||||
nsView.font = font
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user