From da333bda17316d026b6f14e992fff2c24ef6fe77 Mon Sep 17 00:00:00 2001 From: Ember Sawady Date: Wed, 6 Dec 2023 21:54:26 +0000 Subject: [PATCH] fix enter in hist tok mode --- made/line.ha | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/made/line.ha b/made/line.ha index 6ba2b85..9dd712c 100644 --- a/made/line.ha +++ b/made/line.ha @@ -67,7 +67,8 @@ export fn line(ctx: *context) (str | void | io::EOF | error) = { continue; }; switch (s.mode) { - case mode::NORMAL, mode::HIST, mode::HIST_TOK => void; + case mode::NORMAL, mode::HIST, mode::HIST_TOK => + set_mode(&s, mode::NORMAL); case mode::SEARCH => if (s.hint != "") { endsearch(&s); -- 2.45.2