Commit Graph

106 Commits

Author SHA1 Message Date
mars 83872583e0 Buffer line styling 2023-04-12 17:54:22 -04:00
mars 742ed97819 Defer stdout flush until end of draw 2023-04-12 17:50:14 -04:00
mars afaf3ab0fe Add line command 2023-04-12 17:39:46 -04:00
mars 1f33402a42 Parse commands as strings + wq 2023-04-12 17:27:01 -04:00
mars 5bf1212b2a Import Path in main.rs 2023-04-12 17:16:07 -04:00
mars 6f81bab277 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-12 17:14:51 -04:00
mars 7d46cbcf9b Live theme reload 2023-04-12 17:13:20 -04:00
mars b7f9c8ba2e pub mode-related types 2023-04-12 15:46:34 -04:00
mars 7fff70ce84 Move (some) actions to separate module 2023-04-12 15:36:38 -04:00
Emma Tebibyte 4d79d7b946 Merge remote-tracking branch 'upstream/main' 2023-04-12 12:58:48 -04:00
mars 3d03c90c7b WIP syntax highlighting 2023-04-12 12:52:46 -04:00
Emma Tebibyte 6ef5182cea fixed file path resolution 2023-04-12 12:44:37 -04:00
mars 51622bf6fd Ignore style modifiers and underline for now 2023-04-12 12:41:22 -04:00
mars 7137744122 Merge palette table with default palette 2023-04-12 12:41:08 -04:00
mars 78b24c4203 Support 0-length scopes 2023-04-12 12:40:39 -04:00
mars 86bbfcda60 Add Style::apply() 2023-04-12 12:40:16 -04:00
mars ce13258ca7 Make Style::print_styled() generic over Display 2023-04-12 12:40:06 -04:00
Emma Tebibyte c06b39239c Merge remote-tracking branch 'upstream/main' 2023-04-12 11:55:36 -04:00
Emma Tebibyte 0ff694c6c1 better command parsing with file name argument for :w 2023-04-12 11:52:21 -04:00
Emma Tebibyte aee17365c6 basic file handling 2023-04-12 01:22:16 -04:00
Roux 8cb37a7820 Capital O insert mode 2023-04-12 00:19:01 -04:00
Roux badd6a0b71 fixed outdated code 2023-04-12 00:10:32 -04:00
Roux 36bbb3b77b resolve merge conflict 2023-04-12 00:04:50 -04:00
mars 5022408e65 Make Cursor and Direction pub to avoid warnings 2023-04-12 00:01:53 -04:00
mars cc1debc051 Merge branch 'main' of https://git.tebibyte.media/mars/breed 2023-04-11 23:57:29 -04:00
mars 31a1cf961e Move Buffer to new module 2023-04-11 23:55:56 -04:00
Roux f5ea473328 cargo fmt 2023-04-11 23:55:33 -04:00
Roux 8a110c5b01 Insert: add o-insert with newline 2023-04-11 23:54:42 -04:00
mars 1f9ba13620 Add basic theming 2023-04-11 23:34:24 -04:00
mars 9c633b4c72 Merge pull request 'Handling redirects/pipes and no stdin' (#4) from emma/breed:arg-parsing into main
Reviewed-on: #4
2023-04-11 23:26:50 +00:00
Emma Tebibyte 6ed8a04c24 It now opens to an empty buffer when there is no stdin 2023-04-11 19:15:38 -04:00
mars d7f8ccad2a Merge pull request 'Argument parsing' (#3) from emma/breed:arg-parsing into main
Reviewed-on: #3
2023-04-11 22:55:52 +00:00
Emma Tebibyte 31d9cdf266 Added comment explaining stdin as a file descriptor 2023-04-11 18:54:33 -04:00
Emma Tebibyte 6bde2a1eec Changed wording 2023-04-11 18:51:33 -04:00
Emma Tebibyte 1ef228faa2 EVEN BETTER argument parsing 2023-04-11 18:49:11 -04:00
mars 1d22ad1dc3 Status line, commands, and normal mode errors 2023-04-11 18:44:13 -04:00
Emma Tebibyte 1e69ae5e98 better argument parsing 2023-04-11 18:26:02 -04:00
Emma Tebibyte 71490f7421 basic argument parsing 2023-04-11 18:12:56 -04:00
mars 31adade996 Merge branch 'main' into append 2023-04-11 21:48:21 +00:00
mars 0192cbbc6b Fix bad EOF behavior 2023-04-11 17:44:10 -04:00
Emma Tebibyte f67a0ea567 Merge remote-tracking branch 'upstream/main' into append 2023-04-11 17:34:46 -04:00
mars d1693de12b Autoscrolling + on_any_event() 2023-04-11 17:29:52 -04:00
Emma Tebibyte 1be955dc11 fixed append 2023-04-11 17:28:42 -04:00
mars f597038a40 rustfmt 2023-04-11 17:20:12 -04:00
Emma Tebibyte e06d61317f small formatting issue 2023-04-11 17:06:11 -04:00
Emma Tebibyte 045b9eed99 Merge remote-tracking branch 'upstream/main' into append 2023-04-11 16:54:30 -04:00
Emma Tebibyte bb6862d123 added append mode 2023-04-11 16:53:02 -04:00
mars 8dbe2b6284 Remove duplicate std imports 2023-04-11 16:43:13 -04:00
mars 6d9921fad6 Fix broken event module imports 2023-04-11 16:41:50 -04:00
mars ea7af04e52 Trim lines to column num 2023-04-11 16:32:07 -04:00
Emma Tebibyte c20c58d876 fixed use statement formatting 2023-04-11 16:18:16 -04:00
Emma Tebibyte 41558ecddd Merge remote-tracking branch 'upstream/main' 2023-04-11 16:06:49 -04:00
mars 2b62862559 Better raw mode and screen handling 2023-04-11 16:04:29 -04:00
Emma Tebibyte 977ca8a5e2 licensing 2023-04-11 16:02:34 -04:00
mars b03a5b47ea ehhhh this kinda works 2023-04-11 15:56:43 -04:00
mars cc858ac593 Initial commit 2023-04-11 13:40:10 -04:00