Issue1751519
Created on 2007-07-10 22:48 by wmula, last changed 2008-01-19 22:42 by akuchling.
|
msg52824 - (view) |
Author: Wojciech Mula (wmula) |
Date: 2007-07-10 22:48 |
|
This patch add two window methods: addchstr and addchnstr and also module attribute chtype_size. Methods use addstr convention i.e. calling with/without new cursors coords is allowed.
Methods accept any buffer-object (string, array, ctypes string buffer) of length n*chtype_size.
|
|
msg52825 - (view) |
Author: Wojciech Mula (wmula) |
Date: 2007-07-10 22:52 |
|
File Added: test_addchstr.py
|
|
msg60240 - (view) |
Author: A.M. Kuchling (akuchling) |
Date: 2008-01-19 22:42 |
|
I'm doubtful about passing strings of characters that contain characters
+ attrs. The usual convention used by the curses module is to allow
strings containing attributeless characters to display, or integers that
can include an attribute value.
Perhaps these functions can take an iterable containing either
1-character strings or integers, and assemble them into a C-level array.
|
|
| Date |
User |
Action |
Args |
| 2008-01-19 22:42:12 | akuchling | set | messages:
+ msg60240 |
| 2008-01-12 01:15:52 | akuchling | set | assignee: akuchling nosy:
+ akuchling |
| 2007-07-10 22:48:41 | wmula | create | |
|