Commit graph

32 commits

Author SHA1 Message Date
Hiers
93576a3e34 Split kanji search by radical functions.
Put them in another file in preparation for adding sentence searching
which will add considerable complexity to the code.
2023-12-14 19:15:35 +00:00
Hiers
cb977989c6 Fixed "(common)" tag not showing up as green. 2023-11-20 19:42:29 +00:00
Hiers
ac5a961d8d Code cleanup. 2023-11-06 10:40:37 +00:00
Hiers
900cec4df4 Fix broken coloured text on Windows. 2023-10-14 18:02:32 +01:00
Hiers
139f3b17ab Upload local patches I've been running for jisho-cli. 2023-10-14 17:12:06 +01:00
Hiers
128c0a6e9b More changes to formatting and additional info. Also exit on EOF. 2023-03-18 21:47:50 +00:00
Hiers
c541922d05 Fix loop not reading more than 2 alternate readings. 2023-03-18 21:47:27 +00:00
Hiers
d067e01bd4 Remove aux variable and assign output to format! directly. 2023-03-05 15:05:10 +00:00
Hiers
6ad4c5cdc3 Add other forms section to results that have them. 2023-03-05 15:01:15 +00:00
Hiers
321aab0480 Few more minor changes to formatting. 2023-03-04 13:18:04 +00:00
Hiers
556c32b1ec Change formatting to be closer to what jisho presents. 2023-03-04 11:37:44 +00:00
Hiers
1c3c5644d3 Move child process code to separate function and other small changes. 2023-02-19 23:18:42 +00:00
Hiers
d56d31cc64 Removed the pager crate in favour of implementing that functionality in jisho-cli. Added windows version of terminal_size function. 2023-02-19 11:01:24 +00:00
Hiers
bc8a29fcf3 Fix buffer underflow bug in output line counter. 2023-02-17 11:41:38 +00:00
Hiers
7f149998bb Print to less if output is bigger than terminal window height. 2023-02-17 10:23:52 +00:00
jojii
06dba7a78f
fix #3 2021-04-07 14:02:32 +02:00
jojii
c168323282
don't do empty requests 2021-04-07 13:57:16 +02:00
jojii
d017288de4
add -k to open each kanji info in a browser tab 2021-04-02 20:20:09 +02:00
jojii
22c7a785c9
add interactive mode 2021-03-16 14:51:25 +01:00
jojii
0f942f6738
few further improvements 2021-03-15 23:28:19 +01:00
jojii
36ecd62faf
don't start counting at 0 2021-03-15 23:24:30 +01:00
jojii
227f76bc82
add cli parsing
closes #2
2021-03-15 23:23:28 +01:00
jojii
51364bb9f7 Fix some words not shown シ 2021-02-24 20:09:59 +01:00
jojii
a9e080d9da fix empty brackets 2021-02-18 18:49:18 +01:00
jojii
59cc62f5c8 also display 'parts_of_speech' 2021-02-18 17:59:11 +01:00
jojii
e298065a5d fix: show all english definitions per entry 2021-02-18 17:26:39 +01:00
jojii
1a374f77dd why do normal people count from 1 2021-02-08 00:24:39 +01:00
jojii
37ec1729b8 improve some 'error' handling 2021-02-07 23:40:08 +01:00
jojii
6993367c3f add sense tag printing 2021-02-07 23:31:15 +01:00
jojii
1c07f21810 cargo clippy 2021-02-07 23:15:36 +01:00
jojii
e93aa404ff improve user experience 2021-02-07 23:13:43 +01:00
jojii
a3cb8fa2d6 initial commit 2021-02-07 22:51:54 +01:00