When I accidentally press Q and then type N to cancel the quit, lynx
goes "Excellent!!!", blocking the interface for one full second. I could
already have done two or three other things in that second as I'm pretty
quick on the keyboard, so this has been a slight annoyance, more so
because it looks amateurish (with Three! Exclamation! Points!) and is
superfluous. As of last year I've been privately patching my builds with
the attached which removes that message and returns straight to the
interface when cancelling a quit.
- M.
diff -uNr lynx2-8-8.orig/LYMessages_en.h lynx2-8-8/LYMessages_en.h
--- lynx2-8-8.orig/LYMessages_en.h 2013-11-29 01:52:56.000000000 +0100
+++ lynx2-8-8/LYMessages_en.h 2016-04-03 13:08:27.000000000 +0200
@@ -35,7 +35,6 @@
#define TRANSFER_INTERRUPTED gettext("Data transfer interrupted.")
#define CANCELLED gettext("Cancelled!!!")
#define CANCELLING gettext("Cancelling!")
-#define NO_CANCEL gettext("Excellent!!!")
#define OPERATION_OK gettext("OK")
#define OPERATION_DONE gettext("Done!")
#define BAD_REQUEST gettext("Bad request!")
diff -uNr lynx2-8-8.orig/src/LYMainLoop.c lynx2-8-8/src/LYMainLoop.c
--- lynx2-8-8.orig/src/LYMainLoop.c 2013-11-29 01:52:56.000000000 +0100
+++ lynx2-8-8/src/LYMainLoop.c 2016-04-03 13:06:44.000000000 +0200
@@ -4338,13 +4338,9 @@
if (LYQuitDefaultYes == TRUE) {
if (c != NO) {
return (TRUE);
- } else {
- HTInfoMsg(NO_CANCEL);
}
} else if (c == YES) {
return (TRUE);
- } else {
- HTInfoMsg(NO_CANCEL);
}
return FALSE;
}
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev