Commit graph

38 commits

Author SHA1 Message Date
baba71fff7 add scrolling to file view 2023-03-14 13:00:44 +01:00
d2e28b4608 cleanup 2023-03-13 20:26:59 +01:00
ec10ac992a cleanup 2023-03-13 20:12:13 +01:00
444f12cb32 update README.md 2023-03-13 19:36:00 +01:00
2b01ff226d only reset filename when failing to save if it was set by the user (don't convert read-only opened files to 'untitled') 2023-03-12 21:57:53 +01:00
5035e4c295 show error when failing to navigate to directory 2023-03-12 21:52:20 +01:00
cf1a4c510d show error when failing to open a file 2023-03-12 21:45:12 +01:00
2bc0cde14b cleanup, add message when saving file 2023-03-12 20:44:37 +01:00
19742c38df handle errors when saving file to an invalid location 2023-03-12 20:40:07 +01:00
f17a78f088 prevent opening the same file multiple times 2023-03-11 22:48:38 +01:00
c4f0d85e24 cwd in menu to allow saving files outside original directory 2023-03-06 22:17:33 +01:00
79e4364f5a add page up/down faster scroll 2023-03-05 21:24:15 +01:00
306ee70381 add README.md 2023-03-05 18:28:39 +01:00
b5b7022ee7 fix capital letters not registering 2023-03-05 18:25:49 +01:00
15beff91b3 file navigation menu 2023-03-05 18:06:29 +01:00
f41c23bbf8 clean up selection & fix crash when copying last line 2023-03-04 13:20:24 +01:00
2d49302d0a improve selection controls 2023-03-04 12:43:54 +01:00
f5da786053 port to crossterm 2023-03-04 11:26:57 +01:00
f3f1c4de94 fix clipboard issues and edge cases 2023-03-03 23:38:33 +01:00
1b3dc37623 show unsaved changes 2023-03-01 22:40:57 +01:00
5ece5b7198 add clipboard 2023-03-01 22:16:10 +01:00
59b45f57c3 fix selection with wide unicode chars 2023-02-28 21:54:12 +01:00
6c8dd2edbe text selection by placing a marker 2023-02-28 21:52:12 +01:00
33ee68acad open several files when provided as args 2023-02-28 20:56:24 +01:00
8194ff2ec2 select between open editors, create new ones with ctrl+N 2023-02-28 20:38:20 +01:00
7d1a2bc412 better event loop :) 2023-02-28 20:21:20 +01:00
1e827acfdd navigator skeleton 2023-02-28 12:41:34 +01:00
a65a1cc9b8 allow cancelling in save path input prompt 2023-02-27 21:35:38 +01:00
ad6e458812 fix crash for small files 2023-02-26 21:14:47 +01:00
586354509b add basic scrolling 2023-02-26 20:27:50 +01:00
856951a7a0 add saving 2023-02-26 19:24:27 +01:00
3f2d3491ed support unicode characters that are longer than one byte 2023-02-26 17:53:20 +01:00
c6090b3cc1 handle end of file and empty files properly 2023-02-26 10:33:15 +01:00
b75fb1ae47 open files 2023-02-26 01:19:24 +01:00
c656dc0931 render cursor position properly after tabs 2023-02-26 01:02:10 +01:00
10a56c19d9 add .rustfmt.toml 2023-02-26 00:46:25 +01:00
c112195b9d backspace & delete 2023-02-26 00:39:12 +01:00
cb4a43d00c basic navigation & character insert 2023-02-26 00:29:29 +01:00