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

2
lib/.gitignore vendored
View File

@@ -267,8 +267,6 @@
/xstrndup.h
/binary-io.c
/xsize.c
/getdelim.c
/getline.c
/bitrotate.c
/math.c
/sig-handler.c