Commit graph

22 commits

Author SHA1 Message Date
8d8db38576 don't add quotes to the command when we use them, support escaping them, and don't support using single quotes in place of them 2026-01-21 14:21:25 -07:00
20c9b01967 "properly handle running out of space in the buffer (which is now lowered too)" 2026-01-21 14:14:38 -07:00
1940122a89 "fix backspace, get left/right working (in insert mode though...)" 2026-01-21 14:10:08 -07:00
0ed0d32b27 "introduce msh_move_cursor so we can abstrace backspace" 2026-01-21 13:51:42 -07:00
ab3ef8bb8b path is now an owned string since we actually need to make a copy that's an array 2026-01-21 13:34:25 -07:00
118f706b00 "add a few constructs" 2026-01-21 11:21:23 -07:00
e7a7447550 start/end input capture more appropriately so that launched applications don't default to raw mode 2026-01-20 18:21:51 -07:00
a95a483710 quickly impl ^C 2026-01-20 17:26:16 -07:00
039d581c45 smallish change of plans actually, msh_read_input should return the ascii character input'd so that things like ^C can be abstracted per platform 2026-01-20 17:23:31 -07:00
fb3e073565 use raw mode for linux so that I can later implement history and such. also update msh_read_input doc because i think it's gonna return more stuff soon 2026-01-20 17:09:58 -07:00
efeeb73ef5 fix buffer overrun and uninitialized variable 2026-01-19 22:07:08 -07:00
efe2bf1ba5 caught some small mistakes in a later code review 2026-01-19 19:21:13 -07:00
ce504f4448 typing a directory alone cds you to it 2026-01-19 17:33:05 -07:00
e0a751eec3 environment passthrough 2026-01-19 17:12:32 -07:00
2a3679b272 path and cd builtin 2026-01-19 15:03:38 -07:00
294261bdc7 don't fork upon empty commands in linux's msh_execute 2026-01-15 22:29:53 -07:00
542a6f41ed Update README.md 2026-01-15 23:15:30 -06:00
a6b0234183 more properer lexer 2026-01-15 22:13:52 -07:00
0b96d7c8b3 update readme 2026-01-15 20:36:26 -07:00
20919695d0 move msh_callocate to new utils file 2026-01-15 20:23:27 -07:00
c5c46d7365 forgot to free args almost 2026-01-15 20:14:29 -07:00
7accc34991 initial commit 2026-01-15 20:10:55 -07:00