diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-02 04:59:25 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-11-03 16:44:14 +0000 |
commit | 9d460a9d7f68169d0de4bba77ac8890c2664abcb (patch) | |
tree | e5a9847417cba38367d540c48f46bb93a8b41e6b /Src/Zle | |
parent | 4ad1ad9777d2bb27791043b306b65de62deb5f11 (diff) | |
download | zsh-9d460a9d7f68169d0de4bba77ac8890c2664abcb.tar.gz zsh-9d460a9d7f68169d0de4bba77ac8890c2664abcb.tar.xz zsh-9d460a9d7f68169d0de4bba77ac8890c2664abcb.zip |
39806: internal: Document zle's vichgbuf.
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_vi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c index e1cd758f7..213dc15f8 100644 --- a/Src/Zle/zle_vi.c +++ b/Src/Zle/zle_vi.c @@ -47,10 +47,19 @@ int vilinerange; /* last vi change buffer, for vi change repetition */ +/* + * vichgbufsz: Allocated size of vichgbuf. + * vichgbufptr: Length in use. + * vichgflag: true whilst inputting a vi normal mode; causes it to be + * accumulated in vichgbuf, incrementing vichgbufptr. + */ + /**/ int vichgbufsz, vichgbufptr, vichgflag; /* + * The bytes that make up the current vi command. See vichgbuf* above. + * * Examination of the code suggests vichgbuf is consistently tied * to raw byte input, so it is left as a character array rather * than turned into wide characters. In particular, when we replay |