[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cplay-dev] Disregard My Earlier Question
From: |
SHRIZZA |
Subject: |
[cplay-dev] Disregard My Earlier Question |
Date: |
Tue, 9 May 2006 01:12:47 +0900 |
I -just- realized sending an m3u file's contents to the playlist is
as easy as (a)dding it like any MP3 file.
Also, backspacing in the input line at the bottom (such as when
inputting the path to save a playlist) wasn't working for me but this
change fixed it.
"""
--- cplay 2003-12-05 17:20:56.000000000 +0900
+++ cplay 2006-05-09 00:47:49.000000000 +0900
@@ -1372,7 +1372,7 @@
self.restricted = 0
self.input_keymap = Keymap()
self.input_keymap.bind(list(Window.chars), self.do_input)
- self.input_keymap.bind(curses.KEY_BACKSPACE, self.do_input,
(8,))
+ self.input_keymap.bind([127, curses.KEY_BACKSPACE],
self.do_input, (8,))
self.input_keymap.bind([21, 23], self.do_input)
self.input_keymap.bind(['\a', 27], self.cancel_input, ())
self.input_keymap.bind(['\n', curses.KEY_ENTER],
"""
Not sure why curses.KEY_BACKSPACE wasn't doing the job but looking at
the current Python curses documentation on http://docs.python.org/lib/
node267.html shows:
"""
KEY_BACKSPACE
Backspace (unreliable)
"""
in the key constant table.
-- grimm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cplay-dev] Disregard My Earlier Question,
SHRIZZA <=