aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.rs
AgeCommit message (Collapse)AuthorFilesLines
2024-01-11Rewrite the entire thing.Rose Hogenson1-112/+51
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-07Support backspace in xterm.Rose Hogenson1-1/+3
Backspace: Cooler backspace:
2024-01-07Support pasting text into the editor.Rose Hogenson1-15/+77
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-07Implement redo.Rose Hogenson1-0/+5
Is this how redo works?
2024-01-06Implement undo.Rose Hogenson1-0/+5
2024-01-06Use a b-tree for the rope.Rose Hogenson1-5/+12
Now it's balanced :D
2024-01-06Implement backspace.Rose Hogenson1-0/+5
2024-01-06Use more idiomatic error handling.Rose Hogenson1-31/+24
2023-12-29Allow saving the file with CTRL-S.Rose Hogenson1-0/+5
2023-12-29Support inserting text.Rose Hogenson1-2/+2
2023-12-29Allow moving the cursor with the arrow keys.Rose Hogenson1-0/+55
2023-12-27Put the terminal in raw mode.Rose Hogenson1-11/+54
2023-12-27Rename tiocgwinsz.rs to term.rs.Rose Hogenson1-0/+18
I will be putting more functionality in this file.