Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / 
lambda-term


Commits:
ca5e6120 by Stephane Glondu at 2023-08-27T22:01:36+02:00
New upstream version 3.3.2
- - - - -
c9145801 by Stephane Glondu at 2023-08-27T22:01:36+02:00
Update upstream source from tag 'upstream/3.3.2'

Update to upstream version '3.3.2'
with Debian dir 7533a7742604510f7d3e606a0e67769feeb43dd2
- - - - -
274d99fb by Stephane Glondu at 2023-08-27T22:01:42+02:00
New upstream release

- - - - -
75b0cca7 by Stephane Glondu at 2023-08-27T22:05:44+02:00
Prepare upload to unstable

- - - - -


3 changed files:

- CHANGES.md
- debian/changelog
- src/lTerm_vi.ml


Changes:

=====================================
CHANGES.md
=====================================
@@ -1,3 +1,8 @@
+3.3.2 (2023-08-09)
+------------------
+
+* `LTerm_vi`: fix a downward-action issue when act in empty content
+
 3.3.1 (2022-07-04)
 ------------------
 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+lambda-term (3.3.2-1) unstable; urgency=medium
+
+  * Team upload
+  * New upstream release
+
+ -- Stéphane Glondu <[email protected]>  Sun, 27 Aug 2023 22:05:39 +0200
+
 lambda-term (3.3.1-3) unstable; urgency=medium
 
   * Use ocaml_dune DH buildsystem


=====================================
src/lTerm_vi.ml
=====================================
@@ -1,7 +1,7 @@
 (*
  * lTerm_vi.ml
  * ------------
- * Copyright : (c) 2020, ZAN DoYe <[email protected]>
+ * Copyright : (c) 2023, ZAN DoYe <[email protected]>
  * Licence   : BSD3
  *
  * This file is a part of Lambda-Term.
@@ -242,7 +242,7 @@ module Query = struct
     let cursor= Zed_edit.cursor ctx in
     let count= Zed_lines.count lines in
     if index = Zed_lines.count lines then
-      Zed_rope.length text - 1
+      max 0 (Zed_rope.length text - 1)
     else begin
       let stop =
         if index + delta >= count then



View it on GitLab: 
https://salsa.debian.org/ocaml-team/lambda-term/-/compare/2e0705e0bceec04c7f5d40b88e9f5bb3faff4515...75b0cca7733fcb70fd2aeac867d5db1aed16571c

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/lambda-term/-/compare/2e0705e0bceec04c7f5d40b88e9f5bb3faff4515...75b0cca7733fcb70fd2aeac867d5db1aed16571c
You're receiving this email because of your account on salsa.debian.org.


Reply via email to