summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1816059)
raw | patch | inline | side by side (parent: 1816059)
author | Kalle Wallin <kaw@linux.se> | |
Sun, 22 Jan 2006 22:41:03 +0000 (22:41 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sun, 22 Jan 2006 22:41:03 +0000 (22:41 +0000) |
ChangeLog | patch | blob | history | |
src/wreadln.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 41df37818989f65101b941c792acbaa3ea90068e..bc21a2d0307ce7a66ed22667486f89fdc7bc96cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-01-22 Kalle Wallin <kaw@linux.se>
+ * configure.ac: use libcursesw by default
+ * wreadln.c: use wget_wch (wide characters) when built with libcursesw
+
+2006-01-17 Kalle Wallin <kaw@linux.se>
+ * Russian translation fix (codepage) from Alexey Ivanov
+
+2006-01-16 Jonatan Fors <etnoy@broach.se>
+ * Added timedisplay option (elapsed/remaining)
+ * Fixed db update message
+ * ncmpc.1: Updated and corrected.
+
2005-06-15: Kalle Wallin <kaw@linux.se>
* Added configuraton option screen-list
* Added configuraton option find-show-last
diff --git a/src/wreadln.c b/src/wreadln.c
index 2c8c55dd56495a07519ae0a7f31471e0e96c81bc..d5c25cc8b5b144bc24dd9e0fff6fea19941cf5f5 100644 (file)
--- a/src/wreadln.c
+++ b/src/wreadln.c
#include "wreadln.h"
#define KEY_CTRL_A 1
+#define KEY_CTRL_C 3
#define KEY_CTRL_D 4
#define KEY_CTRL_E 5
#define KEY_CTRL_G 7
#define KEY_CTRL_K 11
+#define KEY_CTRL_Z 26
#define KEY_BCKSPC 8
#define TAB 9
case KEY_CTRL_A:
cursor_move_home();
break;
+ case KEY_CTRL_C:
+ exit(EXIT_SUCCESS);
+ break;
case KEY_CTRL_D:
delete();
break;
case KEY_CTRL_K:
wline[cursor] = 0;
break;
+ case KEY_CTRL_Z:
+ sigstop();
+ break;
+ case 127:
+ backspace();
+ break;
case '\n':
case 13:
/* ignore char */