aboutsummaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 5f2dec6312..deb124dbc5 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1979,14 +1979,6 @@ redraw:
}
/*
- * Return TRUE if the cursor is at the end of the cmdline.
- */
-int cmdline_at_end(void)
-{
- return ccline.cmdpos >= ccline.cmdlen;
-}
-
-/*
* Allocate a new command line buffer.
* Assigns the new buffer to ccline.cmdbuff and ccline.cmdbufflen.
* Returns the new value of ccline.cmdbuff and ccline.cmdbufflen.