aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorseivarya <[email protected]>2026-06-20 18:46:10 +0530
committerseivarya <[email protected]>2026-06-20 18:46:10 +0530
commitb5186a5a724649e9eb71fdfbaf3c2a84b36d7c9c (patch)
treeac664730e758ef50f8472831fada93c6e8f7c5d7 /src/main.cpp
parent8798eafd4cc4b32c590a40c276c09b830c5d62da (diff)
[fix]: fixed incorrect rendering of words due to missing delimeters
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a0c60cb..10c3df6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
fclose(fp);
std::vector<std::string> data;
- split(content, data, ' ');
+ split(content, data, " \t\r\n,;:!?");
while(1) {
for (std::string &k: data) {