2 Commits

Author SHA1 Message Date
Evgeniy A. Dushistov
eb167ae7ed fix: include stdio for popen 2025-08-17 14:26:04 +03:00
Evgeniy A. Dushistov
520a96f3db chore: document integration with readline
fixes #27
2025-08-17 14:20:47 +03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ fzf --prompt="Dict: " \
--phony \ --phony \
--bind "enter:reload(sdcv {q} -n --json | jq '.[].dict' -r)" \ --bind "enter:reload(sdcv {q} -n --json | jq '.[].dict' -r)" \
--preview "sdcv {q} -en --use-dict={}" \ --preview "sdcv {q} -en --use-dict={}" \
--preview-window=right:70%:wrap \ --preview-window=wrap \
< <(echo) < <(echo)
#+END_SRC #+END_SRC

View File

@@ -42,8 +42,8 @@ private:
int version; int version;
int chunkLength; int chunkLength;
int chunkCount; int chunkCount;
int *chunks = nullptr; int *chunks;
unsigned long *offsets = nullptr; /* Sum-scan of chunks. */ unsigned long *offsets; /* Sum-scan of chunks. */
std::string origFilename; std::string origFilename;
std::string comment; std::string comment;
unsigned long crc; unsigned long crc;