update TODO

This commit is contained in:
Mitchell Hashimoto
2022-04-26 19:47:39 -07:00
parent 7025b53544
commit 9e6d38425a
2 changed files with 5 additions and 1 deletions

View File

@ -3,3 +3,7 @@ Performance:
* libuv allocates on every read, we should use a read buffer pool * libuv allocates on every read, we should use a read buffer pool
* update cells for drawing should just happen once per frame * update cells for drawing should just happen once per frame
* update cells should only update the changed cells * update cells should only update the changed cells
Correctness:
* `exit` in the shell should close the window

View File

@ -129,7 +129,7 @@ pub fn create(alloc: Allocator, loop: libuv.Loop) !*Window {
return error.CommandNotFound; return error.CommandNotFound;
defer alloc.free(path); defer alloc.free(path);
var env = std.BufMap.init(alloc); var env = try std.process.getEnvMap(alloc);
defer env.deinit(); defer env.deinit();
try env.put("TERM", "dumb"); try env.put("TERM", "dumb");