Scroll the input window
I was wondering if I should instead make input wrap, but then wordWrap would need to both support showing formatting and persisting styles across to strings, and it would need to move the window pad up and down a bunch, etc.
Tento commit je obsažen v:
rodič
eb91347308
revize
a7b0ed9907
5
ui.c
5
ui.c
@ -220,10 +220,11 @@ void uiDraw(void) {
|
||||
1, 0,
|
||||
BOTTOM - 1, RIGHT
|
||||
);
|
||||
// TODO: Input scrolling.
|
||||
int y, x;
|
||||
getyx(input, y, x);
|
||||
pnoutrefresh(
|
||||
input,
|
||||
0, 0,
|
||||
0, (x > RIGHT ? x - RIGHT : 0),
|
||||
BOTTOM, 0,
|
||||
BOTTOM, RIGHT
|
||||
);
|
||||
|
Načítá se…
x
Odkázat v novém úkolu
Zablokovat Uživatele