carets: properly display when no line feed is present

* src/location.c (location_caret): finish the line with one whether or not it
is present in input. Rewrite code without getline.
(cleanup_caret): Reset the caret_info global.
* bootstrap.conf: No longer require getline.
This commit is contained in:
Theophile Ranquet
2012-12-13 11:28:11 +01:00
parent c1b2677ad0
commit 432a008d34
4 changed files with 25 additions and 26 deletions

View File

@@ -21,7 +21,6 @@ gnulib_modules='
configmake
dirname
error extensions fdl fopen-safer
getline
getopt-gnu
gettext git-version-gen gitlog-to-changelog
gpl-3.0 hash inttypes isnan javacomp-script