diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-01 23:10:17 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-01 23:10:17 +0000 |
commit | 8a9c9d80783576918f6c665fdc6751add19aa1f3 (patch) | |
tree | 0a8ecca0d1a921143bafa70a8701d4290980fb51 /Src/Zle/zle_refresh.c | |
parent | 2b281e741cda86f0e7539214235139f372764696 (diff) | |
download | zsh-8a9c9d80783576918f6c665fdc6751add19aa1f3.tar.gz zsh-8a9c9d80783576918f6c665fdc6751add19aa1f3.tar.xz zsh-8a9c9d80783576918f6c665fdc6751add19aa1f3.zip |
21971: multibyte version of pfxlen()
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 1342c2d64..fbf241919 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -934,7 +934,6 @@ singlelineout: #define tc_upcurs(X) (void) tcmultout(TCUP, TCMULTUP, (X)) #define tc_leftcurs(X) (void) tcmultout(TCLEFT, TCMULTLEFT, (X)) -/* TODO remove it when pfxlen is fixed */ static int wpfxlen(REFRESH_STRING s, REFRESH_STRING t) { @@ -1143,7 +1142,6 @@ refreshline(int ln) makes it cheaper to delete intermediate characters eg. oldline: hifoobar \ hopefully cheaper here to delete two newline: foobar / characters, then we have six matches */ - /* TODO replace wpfxlen back with pfxlen when the latter is fixed */ if (tccan(TCDEL)) { for (i = 1; *(ol + i); i++) if (tcdelcost(i) < wpfxlen(ol + i, nl)) { |