]> git.neil.brown.name Git - edlib.git/commitdiff
lib-server: fix a couple of typos
authorNeilBrown <neil@brown.name>
Tue, 8 Aug 2023 22:27:38 +0000 (08:27 +1000)
committerNeilBrown <neil@brown.name>
Tue, 8 Aug 2023 22:27:38 +0000 (08:27 +1000)
I mustn't be using this code enough because these should be obvious.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
python/lib-server.py

index a8539548631bedd8128bfdc844c0e246022f0df5..25fd6cbbc0a313cdcbf952c2b878c3ebd78214c0 100644 (file)
@@ -9,8 +9,8 @@ the file.
 
 ### Triage
 
-- [ ] call, not caLl in server.py
-- [ ] lib-server received unexpected notification Close
+- [X] call, not caLl in server.py
+- [X] lib-server received unexpected notification Close
 - [ ] should pane ->cx,cy be a struct xy??
 - [ ] revalidate_start shouldn't find cursor on line where it is known
       not to be
index ee75cacb44bfd0e862967fc3fea762c4eaa1bc4a..49714c292889301486a955c9dc8f1f6577579e36 100755 (executable)
@@ -159,7 +159,7 @@ if sys.argv[0] == "":
                     return 1
                 if cmd == "sig-winch":
                     if self.term:
-                        self.term.caLl("Sig:Winch")
+                        self.term.call("Sig:Winch")
                         self.sock.send(b"OK")
                     else:
                         self.sock.send(b"Unknown")
@@ -439,7 +439,7 @@ else:
             break
         # probably a reply to sig-winch
     winch_ok = False
-    if ret and ret != b"Done" and ret != b"close":
+    if ret and ret != b"Done" and ret != b"Close":
         print("Received unexpected notification: ", ret.decode('utf-8', 'ignore'))
         s.send(b"close")
         s.recv(100)