about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-21 14:36:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-21 14:36:21 -0700
commite2077858f7c4e8837897783cad5aea324352eedf (patch)
treea65542128471c0589fa85971a70be7e6b304e717
parent08b7318c0d35fbcd0a951e4cc6b3ce504234100e (diff)
parent038f054ede880a8494b5cfc59ab77db00b6ddfe0 (diff)
downloadview.love-e2077858f7c4e8837897783cad5aea324352eedf.tar.gz
Merge lines.love
Bring forks up to date.
-rw-r--r--README.md3
-rw-r--r--main.lua2
2 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index c089fdb..cbc2745 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,9 @@ Updates to it can be downloaded from the following mirrors:
 
 Further forks are encouraged. If you show me your fork, I'll link to it here.
 
+* https://codeberg.org/akkartik/view.love -- a stripped down version without
+  support for modifying files; useful starting point for some forks.
+
 ## Feedback
 
 [Most appreciated.](http://akkartik.name/contact)
diff --git a/main.lua b/main.lua
index 19901b4..471de1e 100644
--- a/main.lua
+++ b/main.lua
@@ -119,7 +119,7 @@ function App.filedropped(file)
     save_to_disk(Editor_state)
   end
   -- clear the slate for the new file
-  App.initialize_globals()  -- in particular, forget all undo history
+  App.initialize_globals()
   Editor_state.filename = file:getFilename()
   file:open('r')
   Editor_state.lines = load_from_file(file)