gemini: echo urls while typing in

Let's see how much we need to tweak this solution.
This commit is contained in:
Kartik K. Agaram 2021-12-21 17:52:31 -08:00
parent f689fb7bed
commit 3a20c0e227
1 changed files with 3 additions and 0 deletions

View File

@ -1307,9 +1307,12 @@ static int
Wgetch(lua_State *L)
{
WINDOW *w = checkwin(L, 1);
int y, x;
getyx(w, y, x);
render_trusted_teliva_data(L); /* Apps can draw what they want on screen,
* but Teliva's UI is always visible when
* asking the user to make a decision. */
mvaddstr(y, x, "");
int c = wgetch(w);
if (c == ERR)