summaryrefslogtreecommitdiff
path: root/src/history.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-10-22 18:32:16 +0100
committerPhil Jones <philj56@gmail.com>2022-10-22 18:32:16 +0100
commit820fb11b9bb034a1ee2685ff9272f031d27dcd38 (patch)
treeeed9e25434c2394dbfb0d7e0e4cc297694e00443 /src/history.c
parentd1b94b4487c72b13320a281ad6a2fc291e4c79c7 (diff)
Limit max line length for perfect fuzzy matching.
Fuzzy matching could previously take a very long time for long input lines, as the number of possible matches quickly explodes. This commit sets a line length limit of 100 characters - longer lines will only return the first fuzzy match, rather than the best one.
Diffstat (limited to 'src/history.c')
0 files changed, 0 insertions, 0 deletions