From 5894c5279ca8fc5757eb697bfd901889a4b9e065 Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Wed, 10 May 2017 15:43:55 +0800 Subject: get_history_state -> history_list --- xmake/plugins/lua/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/plugins/lua') diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua index 269e1b944..efa044f4b 100644 --- a/xmake/plugins/lua/xmake.lua +++ b/xmake/plugins/lua/xmake.lua @@ -78,7 +78,7 @@ task("lua") if enable_readline then -- save to history - local entries = readline.get_history_state().entries + local entries = readline.history_list() if #entries > #replhistory then for i = #replhistory+1, #entries do history.save("replhistory", entries[i].line) -- cgit v1.3.1