aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin_commandline.c
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2008-01-14 02:47:47 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2008-01-14 02:47:47 +1000
commit87db9517e928c9007c66ed5b23836db2dad2b693 (patch)
treeedfe373687a5afb9ba5360a456e3096d7bf2df85 /builtin_commandline.c
parentab3502fc8b25469429af25a94306346af590428c (diff)
Add lots of new code comments.
darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
Diffstat (limited to 'builtin_commandline.c')
-rw-r--r--builtin_commandline.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/builtin_commandline.c b/builtin_commandline.c
index 2932d0c3..db43a18d 100644
--- a/builtin_commandline.c
+++ b/builtin_commandline.c
@@ -52,7 +52,15 @@ enum
}
;
+/**
+ Pointer to what the commandline builtin considers to be the current
+ contents of the command line buffer.
+ */
static wchar_t *current_buffer=0;
+/**
+ What the commandline builtin considers to be the current cursor
+ position.
+ */
static int current_cursor_pos = -1;
/**