diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-06 20:24:27 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-04-06 20:24:27 +0530 |
| commit | fec0d51acfc967e32d1dfb25eec4e6ab2e0bcc30 (patch) | |
| tree | 60438e53067c2d08315f56b54ffd04f5afd8364d /config.lua | |
| parent | 85a2c290f922f648e5e9f0e69c03116f2d0aeaa6 (diff) | |
| download | null-browser-fec0d51acfc967e32d1dfb25eec4e6ab2e0bcc30.tar.gz null-browser-fec0d51acfc967e32d1dfb25eec4e6ab2e0bcc30.zip | |
Add web.inspect with inspect.lua
Diffstat (limited to '')
| -rw-r--r-- | config.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 }) |
