33 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c749371bae switch to new screen, bugs! 2022-05-21 16:42:55 -07:00
Mitchell Hashimoto
3538e6782b update cursor on request from shell 2022-05-20 13:51:18 -07:00
Mitchell Hashimoto
75c3dc4386 render: bar cursor style 2022-05-20 13:17:31 -07:00
Mitchell Hashimoto
31d019da9e terminal: color palette structure and generation 2022-05-19 21:21:52 -07:00
Mitchell Hashimoto
6e86afba17 update the font atlas if there are changes 2022-05-19 20:24:28 -07:00
Mitchell Hashimoto
1d0724330e change default font size 2022-05-19 14:07:50 -07:00
Mitchell Hashimoto
3b54d05aec CLI parsing, can set default foreground/background color 2022-05-19 14:00:35 -07:00
Mitchell Hashimoto
3a68d79d83 always draw cell bg if it has one even if no char 2022-05-12 16:46:05 -07:00
Mitchell Hashimoto
89533f4754 connect fg/bg of cell to renderer 2022-05-12 16:39:56 -07:00
Mitchell Hashimoto
308050dc7d only update cells in the render call 2022-04-29 19:47:17 -07:00
Mitchell Hashimoto
330d2ea270 integrate tracy more deeply 2022-04-29 13:39:56 -07:00
Mitchell Hashimoto
3b2d93373e hook up the real subprocess reader/writer to the UI! 2022-04-26 17:13:37 -07:00
Mitchell Hashimoto
bd7855da46 when losing focus, show hollow box 2022-04-22 21:58:15 -07:00
Mitchell Hashimoto
cd602b660c blinking cursor 2022-04-22 15:33:50 -07:00
Mitchell Hashimoto
f8b305df62 pass around the event loop, setup a timer to prove it works 2022-04-22 13:56:39 -07:00
Mitchell Hashimoto
df9fcf636f calculate the cell width/height using the font size scale factor 2022-04-19 20:05:24 -07:00
Mitchell Hashimoto
d250bcda65 fix the baseline for font rendering 2022-04-19 19:30:30 -07:00
Mitchell Hashimoto
e2ed1ed745 shader modes, draw a jank cursor 2022-04-19 13:54:50 -07:00
Mitchell Hashimoto
7a00c54f25 cell: convert atlas x/y to NDC in shader 2022-04-19 09:20:55 -07:00
Mitchell Hashimoto
ac8120f073 update some comments 2022-04-19 09:02:50 -07:00
Mitchell Hashimoto
c43c1d38f1 add background pass 2022-04-19 08:54:39 -07:00
Mitchell Hashimoto
e9661fa55e render multiple lines 2022-04-19 08:42:37 -07:00
Mitchell Hashimoto
81d8ca5b9c render text from our terminal! 2022-04-18 17:57:08 -07:00
Mitchell Hashimoto
34cb9b2c27 setup our GPU cells based on terminal state 2022-04-18 16:21:22 -07:00
Mitchell Hashimoto
2e46612bc7 attach a terminal to the window, start hinting at renderer hookup 2022-04-18 14:12:35 -07:00
Mitchell Hashimoto
38428f94c1 make colors more distinct for demo cells 2022-04-15 09:27:53 -07:00
Mitchell Hashimoto
8ea0299375 grid keeps track of cells 2022-04-15 09:18:57 -07:00
Mitchell Hashimoto
4d9b67fa65 model direct gpu cell 2022-04-15 09:10:32 -07:00
Mitchell Hashimoto
128d28a7bd setup a single vao, ebo, vbo for grid rendering 2022-04-15 08:35:49 -07:00
Mitchell Hashimoto
e672c9d7d5 calculate grid size in dedicated struct, tests 2022-04-15 08:16:22 -07:00
Mitchell Hashimoto
d5ab024521 fix memory leaks 2022-04-15 07:52:08 -07:00
Mitchell Hashimoto
ce70efd771 render a rainbow grid 2022-04-14 17:44:40 -07:00
Mitchell Hashimoto
544286509f grid render a few cells 2022-04-14 17:14:49 -07:00