Allow eww text fields to grow
* lisp/net/eww.el (eww-process-text-input): Allow text fields to grow when typing in stuff that's longer than the original width.
This commit is contained in:
parent
66b315c9c9
commit
56ed4e1886
1 changed files with 1 additions and 1 deletions
|
@ -1046,7 +1046,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
|
|||
(1- (line-end-position))
|
||||
(eww-end-of-field)))
|
||||
(while (and (> length 0)
|
||||
(eql (following-char) ? ))
|
||||
(eql (char-after (1- (point))) ? ))
|
||||
(delete-region (1- (point)) (point))
|
||||
(cl-decf length))))
|
||||
((< length 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue