summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 21:05:02 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 21:05:02 +0300
commite32fd4e7796d6e7c5a4803e45bc230378ec4dd0b (patch)
tree5232331654a977cf4ad1bf06eedc2f8752db6c32 /src/ui/documentwidget.c
parent0f0b4250ca460d58edb61cc0dd509ba1980c3272 (diff)
Font update; ANSI color escapes; fixed URL update
Newer version of the Fira fonts, and added a separate UI font (Source Sans Pro). The text renderer checks for the 4-bit ANSI color escapes for the setting the foreground color. InputWidget supports paste from clipboard. The navbar updates the current URL when the page has been loaded.
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 121ca7cf..2466675e 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -368,6 +368,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e
368 checkResponseCode_DocumentWidget_(d); 368 checkResponseCode_DocumentWidget_(d);
369 d->state = ready_DocumentState; 369 d->state = ready_DocumentState;
370 iReleasePtr(&d->request); 370 iReleasePtr(&d->request);
371 postCommandf_App("document.changed url:%s", cstr_String(d->url));
371 return iTrue; 372 return iTrue;
372 } 373 }
373 else if (isCommand_Widget(w, ev, "scroll.moved")) { 374 else if (isCommand_Widget(w, ev, "scroll.moved")) {