summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index ef76fb52..22dbe0c9 100644
--- a/cgi.c
+++ b/cgi.c
@@ -384,7 +384,7 @@ resp_searchform(const struct req *req)
"<input type=\"text\" name=\"query\" value=\"");
if (NULL != req->q.query)
html_print(req->q.query);
- puts("\" size=\"40\">");
+ puts("\" size=\"40\" autofocus>");
/* Write submission and reset buttons. */