Commit Graph

38 Commits

Author SHA1 Message Date
b34c146aba Display a row of text 2021-03-30 18:00:06 -04:00
c455562703 Simplify ascii helpers 2021-03-30 16:35:03 -04:00
d8e23080fc Add readme 2021-03-30 16:29:03 -04:00
f7157f9c50 Move functions to file under editor instead of their own package 2021-03-30 16:22:35 -04:00
842ab0ef49 Add start of editor row structure 2021-03-30 16:05:33 -04:00
b7e4463f01 Fix movement keys, finish Kilo chapter 3 2021-03-30 15:47:42 -04:00
Timothy Warren
b0c6d1b369 Break everything again 2021-03-30 15:45:13 -04:00
Timothy Warren
e0b348b941 Make PageUp and PageDown work 2021-03-30 14:42:59 -04:00
Timothy Warren
4dfe797467 Make arrows work 2021-03-30 14:11:36 -04:00
5194fe1e9b Cleanup a little 2021-03-30 11:52:44 -04:00
Timothy Warren
663c4304f0 Reorganize a little bit 2021-03-26 16:18:03 -04:00
f205887294 Now with universal quitting action! 2021-03-26 13:35:58 -04:00
Timothy Warren
458f94f576 Break stuff 2021-03-26 12:01:17 -04:00
c02206233c Try out recover for panic calls 2021-03-25 13:55:17 -04:00
0d5f2d0fcc Read a string from stdin 2021-03-25 13:20:33 -04:00
fdb34d8533 Add arrow key escape sequences 2021-03-25 13:19:22 -04:00
ebf6b38a97 Move cursor with wasd keys 2021-03-25 12:46:53 -04:00
ca81c5a8cf Add structs for cursor position and size 2021-03-25 12:27:48 -04:00
Timothy Warren
d04b4bec84 Fewer folders, more files 2021-03-24 16:23:17 -04:00
Timothy Warren
1173818135 Display centered welcome message 2021-03-24 15:52:35 -04:00
Timothy Warren
ca6e38fc51 Clear screen line by line 2021-03-24 15:20:57 -04:00
Timothy Warren
bb6f7764a1 Use buffer for creating output 2021-03-24 15:09:28 -04:00
Timothy Warren
63cad6d012 Put Editor behind a constructor function 2021-03-24 14:17:29 -04:00
Timothy Warren
0902d494c5 Get terminal size two ways 2021-03-24 13:24:40 -04:00
Timothy Warren
835f550bbb Add terminal size lookup 2021-03-23 15:51:59 -04:00
Timothy Warren
e8ba6825aa Draw tildes 2021-03-22 09:12:39 -04:00
94426483c6 Further cleanup main package 2021-03-19 17:39:15 -04:00
eb474ddad2 check for valid terminal 2021-03-19 17:08:19 -04:00
64b7a51f69 Move logic out of main package 2021-03-19 17:03:56 -04:00
2f73596d35 Cleanup main package 2021-03-19 16:39:49 -04:00
0b05522b05 Add modules 2021-03-19 16:36:02 -04:00
Timothy Warren
1b94f7fa94 Add gitignore 2021-03-19 16:11:51 -04:00
Timothy Warren
c37af9a6aa Quit with Ctrl-Q 2021-03-19 16:02:05 -04:00
27271a61b3 Add terminal output helper 2021-03-19 12:46:43 -04:00
Timothy Warren
1161119269 Manually echo output 2021-03-19 12:03:55 -04:00
b3344dbe89 Convert if statement to switch 2021-03-19 08:45:33 -04:00
9de97f995b Raw mode swallowing characters 2021-03-18 19:15:19 -04:00
Timothy Warren
5f143cc5f0 First commit 2021-03-18 16:30:04 -04:00