UTF-8: fix scrolling of input fields

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
In the current version, input fields do not scroll when
CONFIG_UTF_8 is defined.  The bug is that draw_form_entry()
always begins drawing from the beginning of fs->value, even when
fs->vpos is nonzero.

I have fixed the bug in this branch:
http://www.iki.fi/kon/2006/elinks.git#inputfield-scroll
Please test that it works correctly (especially with double-width
characters) and isn't too slow.

I intend to split the patch to smaller pieces before committing
it to the main repository.

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFE8g4wHm9IGt60eMgRAi2SAJ0SA3tC1nCJttAR2MOttnLLBURpVACfbqAh
cW+5hlm9PSj2VVYgJJhN4CU=
=CUPe
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.