[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH 2.8.5-pre4] Bookmark fixup


This allows to end MultiBookMarks screen with Esc (if properly
configured, as in 

  # Make Escape work (better also do something like (in msec) set ESCDELAY=50)
  KEYMAP:^[:INTERRUPT:STOP

)

Enjoy,
Ilya

--- ./src/LYBookmark.c-pre	Wed Jan 28 11:30:38 2004
+++ ./src/LYBookmark.c	Tue Feb  3 17:24:50 2004
@@ -903,9 +903,9 @@ PUBLIC int select_menu_multi_bookmarks N
 		show_bookmark_not_defined();
 		LYMBM_statusline(MULTIBOOKMARKS_SAVE);
 	    } else if (LYisNonAlnumKeyname(c, LYK_PREV_DOC) ||
-		c == 7 || c == 3) {
+		LYCharIsINTERRUPT(c)) {
 		/*
-		 *  Treat left-arrow, ^G, or ^C as cancel.
+		 *  Treat left-arrow, ESCAPE, ^G, or ^C as cancel.
 		 */
 		return(-2);
 	    } else if (LYisNonAlnumKeyname(c, LYK_REFRESH)) {

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to majordomo@xxxxxxx



This mailing list archive is a service of Copilot Consulting.