aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include ncursesw/ncurses.h if availableMax Kellermann2008-10-061-0/+7
| | | | | When compiling with libncursesw, include <ncursesw/ncurses.h> instead of <ncurses.h> (if available).
* wreadln: use unsigned integers and size_tMax Kellermann2008-10-061-2/+2
| | | | | Declare all screen position variables as "unsigned", and all buffer positions as "size_t". We don't need signed values.
* wreadln: convert public globals to local constantsMax Kellermann2008-10-061-6/+0
| | | | | Convert wrln_max_line_size and wrln_max_history_length to local constants. They have no real use outside of wreadln.c.
* removed my_wgetch(), switch to wgetch()Max Kellermann2008-10-061-4/+0
| | | | | There are no special cases left for my_wgetch() to handle. We can remove it and use the original wgetch() instead.
* code style, indent with tabs XIMax Kellermann2008-10-031-3/+3
| | | | Follow the same code style als MPD itself.
* include cleanupMax Kellermann2008-09-151-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.
* fix function prototypesMax Kellermann2008-09-151-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.
* const pointersMax Kellermann2008-09-151-2/+2
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* Removed nested functionsAndreas Obergrusberger2007-08-261-2/+6
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@6811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use glib's str functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin2004-07-131-10/+10
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin2004-07-131-2/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added completion stuffKalle Wallin2004-06-181-0/+8
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1556 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added wreadln.c, wreadln.h a simple line editorKalle Wallin2004-06-061-0/+25
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1351 09075e82-0dd4-0310-85a5-a0d7c8717e4f