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
|
- Sixel support
|
||||||
- Hints/overlays
|
- Hints/overlays
|
||||||
- Built-in patched fonts for powerline
|
- Built-in patched fonts for powerline
|
||||||
|
- Retina display support
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
|
|
|
@ -246,9 +246,11 @@ func (gui *GUI) Render() error {
|
||||||
if gui.terminal.ActiveBuffer().InSelection(uint16(x), uint16(y)) {
|
if gui.terminal.ActiveBuffer().InSelection(uint16(x), uint16(y)) {
|
||||||
colour = &gui.config.ColourScheme.Selection
|
colour = &gui.config.ColourScheme.Selection
|
||||||
}
|
}
|
||||||
|
if cell.Image() != nil {
|
||||||
gui.renderer.DrawCellBg(cell, uint(x), uint(y), cursor, colour, false)
|
gui.renderer.DrawCellImage(cell, uint(x), uint(y))
|
||||||
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++ {
|
for y := 0; y < lineCount; y++ {
|
||||||
|
|
Loading…
Reference in New Issue