about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-12-06 00:43:16 -0800
committerKartik K. Agaram <vc@akkartik.com>2024-12-06 00:43:16 -0800
commitbbec6cdb4eae672d306fc19daa29210e52589fbc (patch)
tree2ce273041cad887527cea226d2b02f4b760d9c75
parent761b5fc65cf41ac3b865a81e9312f73c9e8352e4 (diff)
parente698a3a65dc6df83ab20a5b03d0a021eed87af3a (diff)
downloadview.love-bbec6cdb4eae672d306fc19daa29210e52589fbc.tar.gz
Merge text.love
-rw-r--r--file.lua2
-rw-r--r--reference.md3
2 files changed, 1 insertions, 4 deletions
diff --git a/file.lua b/file.lua
index f7f832b..028ffb4 100644
--- a/file.lua
+++ b/file.lua
@@ -47,7 +47,7 @@ end
 function load_array(a)
   local result = {}
   local next_line = ipairs(a)
-  local i,line,drawing = 0, ''
+  local i,line = 0, ''
   while true do
     i,line = next_line(a, i)
     if i == nil then break end
diff --git a/reference.md b/reference.md
index 972ab1d..80309c3 100644
--- a/reference.md
+++ b/reference.md
@@ -203,9 +203,6 @@ early warning if you break something.
   `x=right`. Wraps long lines at word boundaries where possible, or in the
   middle of words (no hyphenation yet) when it must.
 
-* `edit.quit()` -- calling this ensures any final edits are flushed to disk
-  before the app exits.
-
 * `edit.draw(state)` -- call this from `App.draw` to display the current
   editor state on the app window as requested in the call to
   `edit.initialize_state` that created `state`.