Changeset

127:6a27edf256c3

clix: Initialize verse in modern way
author Kim Alvefur <zash@zash.se>
date Sun, 20 May 2018 01:04:02 +0200
parents 126:c9d03a70a936
children 128:0ae8deb6f75d
files clix.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/clix.lua	Mon Mar 21 16:13:02 2016 +0100
+++ b/clix.lua	Sun May 20 01:04:02 2018 +0200
@@ -5,8 +5,7 @@
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
 --
-require "verse"
-require "verse.client"
+local verse = require "verse".init "client"
 
 -- Global to allow commands to add to it
 short_opts = { v = "verbose", q = "quiet", t = "to", f = "from", e = "type",