From bec26d870448d683faade4d90b6d5eec4e25ae8d Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 20 May 2009 07:49:35 +0200 Subject: [PATCH] Initial commit. --- TODO.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 TODO.txt diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..3e525b0 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,47 @@ + + BUGS + + * Display of the modeline when the pattern is too long + + * Control characters are converted to printable ones in the returned + string. + + WISHES + + * Should allow to provide for every line one string to return and one + string to display, which could be different. + + * Limitate the bandwidth use by using the scrolling capabilities of + curses + + int scrl(int n); + + For positive n, the scrl and wscrl routines scroll the window up n + lines (line i+n becomes i); otherwise scroll the window down n + lines. This involves moving the lines in the window character + image structure. The current cursor position is not changed. + + For these functions to work, scrolling must be enabled via + scrollok. + + int scrollok(WINDOW *win, bool bf); + + A default window called stdscr, which is the size of the terminal + screen, is supplied. + + * Handle widechars for decent internationalization. + + widechar: read using get_wch etc, keep a wchar_t* instead of a + char*, and use things like addwstr to print + + wcsstr instead of strstr + + <\amethyst> you'll have to convert it to a multibyte character + string before writing it + + <\amethyst> with wcstombs + + <\amethyst> wcs are arrays of wchar_t, which are usually 16- or + 32-bit [22:40] + + <\amethyst> mbs is a char string in a multibyte encoding like UTF-8 -- 2.20.1