mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
ncneofetch: scale
This commit is contained in:
parent
60619fc4b9
commit
4889e9b391
@ -245,7 +245,6 @@ drawpalette(struct ncdirect* nc){
|
||||
if(ncdirect_cursor_move_yx(nc, -1, (dimx - 64) / 2)){
|
||||
return -1;
|
||||
}
|
||||
// FIXME move to center
|
||||
for(int x = (dimx - 64) / 2 ; x < dimx / 2 + 32 ; ++x){
|
||||
const int truex = x - (dimx - 64) / 2;
|
||||
if(y * 64 + truex >= psize){
|
||||
|
Loading…
x
Reference in New Issue
Block a user