From fec0d51acfc967e32d1dfb25eec4e6ab2e0bcc30 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 6 Apr 2025 20:24:27 +0530 Subject: Add web.inspect with inspect.lua --- config.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config.lua') diff --git a/config.lua b/config.lua index 360ef11..76db77c 100644 --- a/config.lua +++ b/config.lua @@ -1,9 +1,9 @@ print('hello starting up...') --- @type table -local web = web +web = web --- @type table -local uv = uv +uv = uv local function trim(s) local res, _ = string.gsub(s, '^%s*(.-)%s*$', '%1') @@ -24,7 +24,7 @@ local history = require 'null-browser.extras.history' web.event.add_listener('UrlChanged', { callback = function(opts) - print('url change', opts.url); + print('url change', web.inspect(opts)); history.add(opts.url) end }) -- cgit v1.3.1