From e55291a32a8b3f7b5c105cd79e86f3c19f19b3d4 Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 7 Oct 2026 21:43:38 +0200 Subject: feat: tty and ttf, you'd think somethn starting with tt would be fun to do... --- gils/ed.rv | 2 +- gils/gils.rv | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'gils') diff --git a/gils/ed.rv b/gils/ed.rv index 00ff50a..2572ba3 100644 --- a/gils/ed.rv +++ b/gils/ed.rv @@ -124,7 +124,7 @@ end fn ed_quit(state) do state.active = :false - puts("% ") + puts(prompt()) end global ed_state = { active = :false, input = :false, path = "", lines = {}, dot = 0, insert_at = 0, dirty = :false } diff --git a/gils/gils.rv b/gils/gils.rv index 1a61cc5..afd0bbd 100644 --- a/gils/gils.rv +++ b/gils/gils.rv @@ -24,10 +24,6 @@ end # scripts read their args off env.ctx, stashed here before eval global env = { ctx = :nil } -# working dir + path resolver, shared by every gils tool and the shell. lives -# here so its declared before anything that uses it gets concatenated -global wd = { path = "/" } - global abspath = fn(arg) do if arg:len() == 0 return wd.path let path = arg -- cgit v1.3