2023-11-22 11:14:59 (UTC-03:00)
Marcel Rodrigues <marcelgmr@gmail.com>
allow choosing item with space key
diff --git a/yacht.lua b/yacht.lua index c0a5432..2c35ea3 100644 --- a/yacht.lua +++ b/yacht.lua @@ -357,7 +357,7 @@ function Yacht:pick() local key = self.term:get_key() local update = true local newsel = sel - if key == "\n" then + if key == "\n" or key == " " then break elseif key == "w" or key == "k" then repeat