mirror of https://github.com/liamg/aminal.git
support for retina displays
This commit is contained in:
parent
a5f5979608
commit
00517d72c8
|
@ -39,6 +39,7 @@ Ensure you have your latest graphics card drivers installed before use.
|
|||
- Sixel support
|
||||
- Hints/overlays
|
||||
- Built-in patched fonts for powerline
|
||||
- Retina display support
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
|
|
@ -246,9 +246,11 @@ func (gui *GUI) Render() error {
|
|||
if gui.terminal.ActiveBuffer().InSelection(uint16(x), uint16(y)) {
|
||||
colour = &gui.config.ColourScheme.Selection
|
||||
}
|
||||
|
||||
gui.renderer.DrawCellBg(cell, uint(x), uint(y), cursor, colour, false)
|
||||
gui.renderer.DrawCellImage(cell, uint(x), uint(y))
|
||||
if cell.Image() != nil {
|
||||
gui.renderer.DrawCellImage(cell, uint(x), uint(y))
|
||||
}else{
|
||||
gui.renderer.DrawCellBg(cell, uint(x), uint(y), cursor, colour, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
for y := 0; y < lineCount; y++ {
|
||||
|
|
Loading…
Reference in New Issue