Home
last modified time | relevance | path

Searched hist:"604919 c47fa4092db08dadd282851afc9cba0a90" (Results 1 – 2 of 2) sorted by relevance

/freebsd/stand/lua/
H A Dscreen.luadiff 604919c47fa4092db08dadd282851afc9cba0a90 Tue Sep 24 21:54:56 CEST 2024 Warner Losh <imp@FreeBSD.org> loader: Fix 0 vs 1 confusion for column numbers

In two places we use '0' for a column number. However, the upper left
hand corner of the screen is 1, 1. Fix those two confusions. Also, fix
a comment that flipped the coordinates in a comment (I'm used to the
vt100 convention where it's row, column (eg y, x)) and didn't notice
the rest of the code uses x, y.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D46777
H A Dmenu.luadiff 604919c47fa4092db08dadd282851afc9cba0a90 Tue Sep 24 21:54:56 CEST 2024 Warner Losh <imp@FreeBSD.org> loader: Fix 0 vs 1 confusion for column numbers

In two places we use '0' for a column number. However, the upper left
hand corner of the screen is 1, 1. Fix those two confusions. Also, fix
a comment that flipped the coordinates in a comment (I'm used to the
vt100 convention where it's row, column (eg y, x)) and didn't notice
the rest of the code uses x, y.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D46777