Commit Graph

67 Commits

Author SHA1 Message Date
bd9a07feed Finish kilo chapter 4, text viewer
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 13:25:59 -04:00
a2bfb5f945 More test coverage
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 13:00:58 -04:00
587dfc686a Add line number indication to status bar
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 12:49:55 -04:00
6e5e287bb3 Show filename and row count in status bar
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 12:37:28 -04:00
Timothy Warren
1d4c8f99c0 Move file-specific logic to a document struct
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 12:02:17 -04:00
Timothy Warren
d831bd4f83 Draw empty status bar
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-04-01 09:41:16 -04:00
e7ba61b2aa Add more tests
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 19:17:04 -04:00
Timothy Warren
513d328226 Handle rendering tabs
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 14:56:46 -04:00
Timothy Warren
ae65be003c Fix some offset errors for cursor operations
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 14:32:43 -04:00
Timothy Warren
ae1c91ac74 Horizontal scrolling and line end snapping
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 11:12:09 -04:00
Timothy Warren
cef024bb30 Basic scrolling up or down a file
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 09:43:47 -04:00
Timothy Warren
2203e30b18 Extract method for drawing placeholder rows
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 09:28:39 -04:00
Timothy Warren
c0d5436c35 Fix typo in readme
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-31 08:46:33 -04:00
d2a6c480a7 Cut down on repetition with ansi constants
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-30 21:22:28 -04:00
87e742af5c Make it so Jenkins can actually build
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
2021-03-30 21:14:45 -04:00
ba99c45306 Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 21:12:40 -04:00
d251362776 Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 21:11:42 -04:00
538bc79cad Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 21:01:59 -04:00
27ce51b33f Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:59:21 -04:00
060e3e841e Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:55:46 -04:00
c5aded1d1c Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:52:34 -04:00
2c5eaa3291 Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:51:08 -04:00
098cbbe3ed Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:49:53 -04:00
39ebce63dc Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:47:50 -04:00
ca49b44c73 More tests
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
2021-03-30 20:22:11 -04:00
88d899cbbf Attempt to build with Jenkins 2021-03-30 19:42:49 -04:00
16f7f9464c Add some tests 2021-03-30 19:37:02 -04:00
7d435d1556 Non-scrolling file viewer 2021-03-30 18:43:46 -04:00
067b38c26a Open first line of a file 2021-03-30 18:29:23 -04:00
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