Archived
1
Fork 0
Commit graph

54 commits

Author SHA1 Message Date
a766502f86 Fix not compiling on mac 2023-10-08 08:52:29 +05:00
47368e1d04 Add a way to report errors after exit 2023-10-03 10:58:02 +05:00
399adea68a Use alternate terminal buffer
A lot easier than I imagined. Is it portable enough?
2023-09-26 12:09:15 +05:00
c10f4a243b Add support to handle terminal resizing
Got stuck on a bug for a while, fix was to check for errors when using
system calls. Lesson learned.
2023-09-26 06:42:36 +05:00
b755aad0b4 Fix Makefile 2023-09-25 09:13:59 +05:00
19716973cf Back to using gcc
For no reason whatsoever
2023-09-25 05:14:10 +05:00
c4af9bda7c Make newline behavior consistent with vim
Assume every line ends with a newline, including the last line
2023-09-24 04:50:45 +05:00
58de733df4 Fix the bug I was crying about in the last commit
It was a pretty simple fix. I used gdb to find it, was fun.
2023-09-24 04:37:17 +05:00
ca287f3dff Just a progress log
I had stopped working on this and was happy for the most part, semester
at university had started so I got busy with that work. Until for some
reason I tried making a small C hello-world just for fun. And... nothing
works? It inserts non printable characters sometimes, and saves random
things. Seems to be riddled with bugs. I don't have a lot of time at the
presnet, but I hope to clean it up one day, it's a project I enjoyed
working on and I don't want to leave it in a broken state.
2023-09-18 03:48:29 +05:00
e40302e4de Tweak cursor movement around tab characters 2023-09-11 16:12:07 +05:00
257f90cff9 Fix rx_to_cx bug 2023-09-11 16:02:21 +05:00
33f9102767 Delete the progress log
That information belongs in the commit messages. I'll take care in the
future, for now it's lost (not really, you can still read it).
2023-09-11 13:56:35 +05:00
a73bbecfcc Move cursor to prompt 2023-09-11 13:53:28 +05:00
bb637bab94 Add backspacing to prompt 2023-09-11 10:07:48 +05:00
697a764ae8 Fix bug: save not working 2023-09-09 17:41:27 +05:00
2f560997e5 Finish refactoring 2023-09-09 01:38:26 +05:00
fc5e50e4db Refactor a lot
Doesn't compile yet. Dreading the time when it does and there's an error
in the hundreds of lines I changed. For future: commit small changes
that can be compiled and tested atomically.
2023-09-08 21:55:36 +05:00
e3fb954aeb Fix inludes using IWYU 2023-09-08 21:51:30 +05:00
695dd854d6 Use commit hash as version number
Might be a horrible idea
2023-09-06 16:43:40 +05:00
3ffc185f28 Update README 2023-09-06 01:45:42 +05:00
4158261d0b Update README 2023-09-04 21:08:22 +05:00
bfb47723af Finish chapter 5 2023-09-04 20:54:59 +05:00
01dbed5e6c Almost finish editing 2023-09-04 16:59:33 +05:00
165eea1844 Do some work on the text editing
A little is left, and there are bugs
2023-09-04 15:06:35 +05:00
818ef8d40b Add simple backspacing 2023-09-04 08:56:00 +05:00
7a9727a550 Implement writing to disk 2023-09-03 22:18:08 +05:00
f866add58f Begin work on text editing
Along with lots of stuff I was too lazy to commit separately
2023-09-02 10:30:25 +05:00
bd8da6f4ee Refactor everything into it's own file 2023-09-01 20:04:12 +05:00
f1a73ec874 Remove the 'running' variable 2023-09-01 07:48:37 +05:00
cbec00f522 Fix small bug 2023-08-31 11:11:46 +05:00
49414086b0 Move append buffer to separate file 2023-08-31 10:48:27 +05:00
ca5e1323f1 Move terminal stuff to separate file 2023-08-31 09:19:35 +05:00
2969a7479e Update Makefile 2023-08-31 07:33:55 +05:00
a74e6caae1 Remove unused imports 2023-08-29 14:29:01 +05:00
fc03beacac Make declarations and definitions consistent 2023-08-29 07:51:10 +05:00
84a9d8b329 Finish chapter 4 2023-08-28 08:55:03 +05:00
35b98b1274 Render tabs properly
Also remove the input buffer
2023-08-28 05:10:14 +05:00
4111679e0d I forgot 2023-08-27 22:40:12 +05:00
2d2de2aa14 Modify readme 2023-08-27 09:09:11 +05:00
e6cfa02ae4 More progress towards nothing 2023-08-27 03:08:09 +05:00
0abb788594 Fix a bug 2023-08-26 23:19:09 +05:00
9f365822af Some refactors 2023-08-26 23:00:18 +05:00
6664dd67e9 Implement vertical scrolling (so far) 2023-08-26 12:54:48 +05:00
af9379057f Begin work on reading files 2023-08-26 09:47:07 +05:00
472398fb25 Finish chapter 3 2023-08-26 03:49:55 +05:00
5c708df504 Add input buffering
And refactor a lot of code
2023-08-25 23:13:33 +05:00
9ebd31095c Finish chapter 3
Left reading of some terminal codes that I don't think I'll need
2023-08-24 21:16:36 +05:00
b670630c1d Add make clean 2023-08-24 18:00:53 +05:00
f4a540f487 Add fallback method to get window size 2023-08-24 17:57:25 +05:00
9d5d4ea8c5 Get window size 2023-08-24 16:09:03 +05:00