mirror of https://github.com/liamg/aminal.git
commit
ae5ba2ab37
|
@ -38,7 +38,7 @@ func New(config *config.Config, terminal *terminal.Terminal, logger *zap.Sugared
|
||||||
width: 600,
|
width: 600,
|
||||||
height: 300,
|
height: 300,
|
||||||
terminal: terminal,
|
terminal: terminal,
|
||||||
fontScale: 14.0,
|
fontScale: 15.0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ func (gui *GUI) key(w *glfw.Window, key glfw.Key, scancode int, action glfw.Acti
|
||||||
'M',
|
'M',
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
gui.terminal.Write([]byte{0x0a})
|
gui.terminal.Write([]byte{0x0d})
|
||||||
}
|
}
|
||||||
case glfw.KeyBackspace:
|
case glfw.KeyBackspace:
|
||||||
gui.terminal.Write([]byte{0x08})
|
gui.terminal.Write([]byte{0x08})
|
||||||
|
|
Loading…
Reference in New Issue