aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-06include ncursesw/ncurses.h if availableMax Kellermann1-0/+7
When compiling with libncursesw, include <ncursesw/ncurses.h> instead of <ncurses.h> (if available).
2008-10-06wreadln: use unsigned integers and size_tMax Kellermann1-2/+2
Declare all screen position variables as "unsigned", and all buffer positions as "size_t". We don't need signed values.
2008-10-06wreadln: convert public globals to local constantsMax Kellermann1-6/+0
Convert wrln_max_line_size and wrln_max_history_length to local constants. They have no real use outside of wreadln.c.
2008-10-06removed my_wgetch(), switch to wgetch()Max Kellermann1-4/+0
There are no special cases left for my_wgetch() to handle. We can remove it and use the original wgetch() instead.
2008-10-03code style, indent with tabs XIMax Kellermann1-3/+3
Follow the same code style als MPD itself.
2008-09-15include cleanupMax Kellermann1-0/+3
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
2008-09-15fix function prototypesMax Kellermann1-0/+7
Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
2008-09-15const pointersMax Kellermann1-2/+2
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2007-08-26Removed nested functionsAndreas Obergrusberger1-2/+6
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@6811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use glib's str functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin1-10/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin1-2/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-18Added completion stuffKalle Wallin1-0/+8
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1556 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added wreadln.c, wreadln.h a simple line editorKalle Wallin1-0/+25
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1351 09075e82-0dd4-0310-85a5-a0d7c8717e4f