- [ ] find a better wat to handle "case when EOF is at the end" of
a non-empty line.
-- [ ] input uses 0 for Efallthrough!
+- [X] input uses 0 for Efallthrough!
- [X] call, not caLl in server.py
- [X] lib-server received unexpected notification Close
- [ ] should pane ->cx,cy be a struct xy??
key = strconcat(ci->home, "K", mode, ci->str);
time_starts(ci->home);
ret = call(key, p, num, m, NULL, num2);
- if (ret == 0 && (alt = map_key(ci->str)) != NULL) {
+ if (ret == Efallthrough && (alt = map_key(ci->str)) != NULL) {
key = strconcat(ci->home, "K", mode, alt);
ret = call(key, p, num, m, NULL, num2);
}
time_ends(ci->home);
- if (ret < 0)
+ if (ret <= Efail)
call("Message:default", ci->focus, 0, NULL,
"** Command Failed **");
return Efallthrough;