3124c70d
fixup history searching a bit
it's still a bit buggy, but it mostly works, and it's laid out a lot
better-ish now.
Gregory Mullen
parent 02382f0d
02382f0d
reorder hsh imports
Gregory Mullen
parent 2e141f76
2e141f76
stage one of removing hsh from draw.zig
Gregory Mullen
parent ca4915bc
ca4915bc
move hsh.zig imports
Gregory Mullen
parent 7ea55eb9
7ea55eb9
deleting code assuming an arena
Gregory Mullen
parent 1c9726ce
1c9726ce
make completion work in some cases
Gregory Mullen
parent 6d3b3d12
6d3b3d12
add helper
feeling lazy, might delete later
Gregory Mullen
parent b3fd78e6
b3fd78e6
clean up a lot of completion's old API
Gregory Mullen
parent 3e2ce823
3e2ce823
tab complete only crashes *most* of the time
Gregory Mullen
parent 2dafd22b
2dafd22b
move imports in tokenizer
Gregory Mullen
parent efa85a34
efa85a34
move imports line.zig
Gregory Mullen
parent 6f5c5838
6f5c5838
start reactivating tab completion again
Gregory Mullen
parent 022e29e0
022e29e0
update token.zig to std import format
Gregory Mullen
parent 1f45ca05
1f45ca05
delete dead code
Gregory Mullen
parent efa465c4
efa465c4
update draw.zig to std import format
Gregory Mullen
parent 50c41777
50c41777
update completion to new lexeme api
Gregory Mullen
parent c48e8826
c48e8826
restore custom panic
Gregory Mullen
parent 3fe7054e
3fe7054e
update to zig v0.14.0-dev
Gregory Mullen
parent 09acc54d
09acc54d
fix #5
sorry @micwoj92 github doesn't send me notifications consistantly anymore :<
Gregory Mullen
parent 34f4f13e
34f4f13e
major refactor of data ownership
Gregory Mullen
parent e3c256a4
e3c256a4
move cursor with l&r
Gregory Mullen
parent dcbe511b
dcbe511b
fix exec with a line -> token hack
Gregory Mullen
parent 38846e68
38846e68
move domain to the cannon upstream
Gregory Mullen
parent 4df6e78d
4df6e78d
Merge remote-tracking branch 'origin/pr/4'
Gregory Mullen
parent 3ec874e8parent 95153657
3ec874e8
still refactoring to use line.zig
Gregory Mullen
parent e2379403
e2379403
refactor hsh line a bit more
Gregory Mullen
parent 4ce5d86c
4ce5d86c
lower catch scope
Gregory Mullen
parent 9fb8c4fb
9fb8c4fb
clean up a few imports
Gregory Mullen
parent 81db8ca4
81db8ca4
rename extern editor functions
Gregory Mullen
parent 72a18d22
72a18d22
delete the lines that should have been deleted last commit
Gregory Mullen
parent c1bab977
c1bab977
move line editor to line.zig
Gregory Mullen
parent 2fb2c63a
2fb2c63a
esc isn't an error
Gregory Mullen
parent ffb42d2a
ffb42d2a
add BSD LICENSE
Gregory Mullen
parent de1b7e5b
de1b7e5b
fix drop_word
Gregory Mullen
parent 9918b168
9918b168
half-fix for ctrl-c
Gregory Mullen
parent 4638f3bb
4638f3bb
fix tests
oopsies
Gregory Mullen
parent 36784917
36784917
partial refactor of input.zig into line.zig
Gregory Mullen
parent f51942f7
f51942f7
upgrade to zig v0.12.0-dev.3508
Gregory Mullen
parent e733e54f
e733e54f
put exported vars into environ
Gregory Mullen
parent d994e2d4
d994e2d4
readd .iterate = true for completion dirs
Gregory Mullen
parent d6636412
d6636412
reduce complexity of variables
Gregory Mullen
parent 69f7abd0
69f7abd0
update to zig v0.12
well v0.12-ish :D
Gregory Mullen
parent d82ba323
d82ba323
expand goals for hsh
Gregory Mullen
parent fbe8b09a
fbe8b09a
auto load history on startup
I'm pretty sure this is going to reintroduce a bug but I just
want my shell to work again....
good luck everybody else, I commit now!
Gregory Mullen
parent 67e2e4d9
67e2e4d9
rename hsh fn
Gregory Mullen
parent 1811537a
1811537a
simplify the tokeizer -> history api
Gregory Mullen
parent c64ff5e3
c64ff5e3
prevent fd exaustion
Gregory Mullen
parent 8ccdc399
8ccdc399
don't be fancy needlessly
Gregory Mullen
parent dacc9031
dacc9031
make usingnamespace pub for stdlib extentions
Gregory Mullen
parent 5dddcaae
5dddcaae
fix a bug when pressing enter
Gregory Mullen
parent 432ed81e
More