164 Commits

Author SHA1 Message Date
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
cca32c4d1c embedded libuv loop. still some issues:
1. 100% CPU if no handles/requests
2. slow to exit cause it waits for the next tick
2022-04-22 10:01:52 -07:00
Mitchell Hashimoto
55351487a9 accept enter to make a newline 2022-04-19 20:26:06 -07:00
Mitchell Hashimoto
e2ed1ed745 shader modes, draw a jank cursor 2022-04-19 13:54:50 -07:00
Mitchell Hashimoto
19692f297e set character callback and update the terminal 2022-04-19 13:10:50 -07:00
Mitchell Hashimoto
e9661fa55e render multiple lines 2022-04-19 08:42:37 -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
2cd51f0cc4 basic pty opening 2022-04-15 13:09:35 -07:00
Mitchell Hashimoto
8ea0299375 grid keeps track of cells 2022-04-15 09:18:57 -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
bb902cf4e3 new Window abstraction 2022-04-14 21:07:16 -07:00