diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c

index 897bbc08..fa3ce368 100644

--- a/src/ui/inputwidget.c

+++ b/src/ui/inputwidget.c

@@ -1130,8 +1130,11 @@ static void updateBuffered_InputWidget_(iInputWidget *d) {

     }

#endif

     if (d->inFlags & isUrl_InputWidgetFlag) {

- if (d->inFlags & omitDefaultSchemeIfNarrow_InputWidgetFlag && isNarrow_InputWidget_(d)) {

- omitDefaultScheme_(visText);

+ if (d->inFlags & omitDefaultSchemeIfNarrow_InputWidgetFlag) {

+ if (measure_Text(d->font, cstr_String(visText)).advance.x >

+ width_Rect(contentBounds_InputWidget_(d))) {

+ omitDefaultScheme_(visText);

+ }

         }

         /* Highlight the host name. */

         iUrl parts;

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.15/pcdiff/879960001df15f7163bf18c12d9bc676e6ed5b2f
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
57.264315 milliseconds
Gemini-to-HTML Time
0.303546 milliseconds

This content has been proxied by September (ba2dc).