aboutsummaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-12 15:42:51 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-12 15:43:50 +0530
commit39b3e8d1e2581a47dff1f09450383df0466dac94 (patch)
treeb1c24c659f9bdcb48275ad234c1de0047a991114 /TODO.org
parent80496879c86af00b74f82271282cca3efd99d0b3 (diff)
downloadnull-browser-39b3e8d1e2581a47dff1f09450383df0466dac94.tar.gz
null-browser-39b3e8d1e2581a47dff1f09450383df0466dac94.zip
Switch to using __internals for all api
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/TODO.org b/TODO.org
index 866c045..9ec5532 100644
--- a/TODO.org
+++ b/TODO.org
@@ -21,8 +21,8 @@
- [X] Close window if last view closed
- [X] Rename terms: tab to view? (also web.tabs)
- [X] Configuration lua api
-- [ ] Switch to __internals
-- [ ] Respect cli args for main window
+- [X] Switch to __internals
+- [X] Respect cli args for main window
- [ ] Tests for api
- [ ] Log stdout, errors and results from lua somewhere
- [ ] Downloading/download path config
@@ -74,8 +74,8 @@ web.view.set_url(url, { view = 1 }) -- Set url for view 1
web.view.set_url(url, { view = 1, win = 1 }) -- Set url for view 1 in win 1
web.view.set_url(url, { win = 1 }) -- Set url for current view in win 1
-web.view.new(url, { win = 1 }) -- New view in win 1
-web.view.new(url) -- New view in current window
+web.view.create(url, { win = 1 }) -- New view in win 1
+web.view.create(url) -- New view in current window
web.view.close({ view = 1 }) -- Close view 1
web.view.close() -- Close current view in current window