| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2024-01-11 | Rewrite the entire thing. | Rose Hogenson | 1 | -325/+453 | |
| They say you can always do a better job on the rewrite, and to a certain extent that was true here. I kept a lot of it the same though, since there was a lot I liked from the original design. The main improvements are in efficiency and code clarity. | |||||
| 2024-01-07 | Be more efficient with full screen refreshes. | Rose Hogenson | 1 | -2/+15 | |
| xterm has some bad flickering if I just naively repaint the whole screen every time. We can easily track whether we need to repaint the whole screen or just the line. | |||||
| 2024-01-07 | Make undo a bit less weird. | Rose Hogenson | 1 | -17/+22 | |
| 2024-01-07 | Support pasting text into the editor. | Rose Hogenson | 1 | -93/+94 | |
| The editor only repaints when there is a small delay in the input, which only happens when the user is typing. Otherwise the bytes go straight into the buffer. | |||||
| 2024-01-07 | Implement redo. | Rose Hogenson | 1 | -49/+81 | |
| Is this how redo works? | |||||
| 2024-01-06 | Implement undo. | Rose Hogenson | 1 | -12/+41 | |
| 2024-01-06 | Use a b-tree for the rope. | Rose Hogenson | 1 | -59/+98 | |
| Now it's balanced :D | |||||
| 2024-01-06 | Fix some bugs with long lines. | Rose Hogenson | 1 | -5/+7 | |
| 2024-01-06 | Implement backspace. | Rose Hogenson | 1 | -4/+17 | |
| 2024-01-06 | Fix input issues when scrolling quickly. | Rose Hogenson | 1 | -15/+30 | |
| Unfortunately the user input comes on the same channel as the terminal status report from 6n, so there's a possibility of getting confused here. As long as the program is relatively efficient, it shouldn't be observable. | |||||
| 2024-01-06 | Support inserting newline. | Rose Hogenson | 1 | -32/+73 | |
| 2024-01-06 | Allow scrolling up and down. | Rose Hogenson | 1 | -11/+21 | |
| 2024-01-06 | Truncate long lines. | Rose Hogenson | 1 | -22/+41 | |
| 2024-01-06 | Wrap the cursor around at the ends of a line. | Rose Hogenson | 1 | -5/+12 | |
| 2024-01-06 | Use more idiomatic error handling. | Rose Hogenson | 1 | -91/+50 | |
| 2024-01-06 | Fix unicode handling. | Rose Hogenson | 1 | -60/+134 | |
| It's hard to say if this counts as "fixed," but I think it's at least better than GNU nano. | |||||
| 2024-01-05 | Clean up the rope code. | Rose Hogenson | 1 | -16/+6 | |
| 2023-12-29 | Allow saving the file with CTRL-S. | Rose Hogenson | 1 | -0/+5 | |
| 2023-12-29 | Support inserting text. | Rose Hogenson | 1 | -4/+15 | |
| 2023-12-29 | Keep track of cursor position. | Rose Hogenson | 1 | -10/+65 | |
| 2023-12-29 | Allow moving the cursor with the arrow keys. | Rose Hogenson | 1 | -20/+27 | |
| 2023-12-27 | Wait for ctrl-q to exit. | Rose Hogenson | 1 | -9/+26 | |
| 2023-12-27 | Wait for keypress before exiting. | Rose Hogenson | 1 | -2/+17 | |
| 2023-12-27 | Handle error from putting terminal in raw mode. | Rose Hogenson | 1 | -1/+6 | |
| 2023-12-27 | Print each line separately. | Rose Hogenson | 1 | -2/+4 | |
| Now that the terminal is in raw mode, we need to also include \r after each line. | |||||
| 2023-12-27 | Put the terminal in raw mode. | Rose Hogenson | 1 | -0/+2 | |
| 2023-12-27 | Rename tiocgwinsz.rs to term.rs. | Rose Hogenson | 1 | -2/+2 | |
| I will be putting more functionality in this file. | |||||
| 2023-12-27 | Print the first n lines of the file. | Rose Hogenson | 1 | -2/+4 | |
| 2023-12-27 | Fix a bug in how unicode is printed. | Rose Hogenson | 1 | -1/+1 | |
| Technically a single character can be split across multiple chunks, so we can just join all the chunks before printing. It's not the most efficient, but this is only for debugging. | |||||
| 2023-12-26 | Add function to get terminal size. | Rose Hogenson | 1 | -10/+24 | |
| 2023-12-26 | Add the basic rope. | Rose Hogenson | 1 | -1/+20 | |
| 2023-12-26 | Start text editor. | Rose Hogenson | 1 | -0/+3 | |
