diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rwxr-xr-x | install-all.sh | 5 | ||||
-rw-r--r-- | src/ui/inputwin.c | 4 |
4 files changed, 8 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore index c133d04c..6c29afec 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ stamp-h1 valgrind.out core bugs/ +TODO +plugins/ diff --git a/configure.ac b/configure.ac index ceaf1751..a30c96d8 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) -AC_INIT([profanity], [0.3.0], [boothj5web@gmail.com]) +AC_INIT([profanity], [0.4.0], [boothj5web@gmail.com]) PACKAGE_STATUS="development" AC_DEFINE_UNQUOTED([PACKAGE_STATUS], ["$PACKAGE_STATUS"], [Status of this build]) AC_CONFIG_SRCDIR([src/main.c]) diff --git a/install-all.sh b/install-all.sh index 8bdcdd8a..0e8eb195 100755 --- a/install-all.sh +++ b/install-all.sh @@ -31,11 +31,12 @@ cygwin_prepare() echo Profanity installer... installing dependencies echo - wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg + wget --no-check-certificate https://raw.github.com/boothj5/apt-cyg/master/apt-cyg + #wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg chmod +x apt-cyg mv apt-cyg /usr/local/bin/ - apt-cyg install make gcc automake autoconf pkg-config openssl-devel expat zlib-devel libncurses-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel + apt-cyg install make gcc automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncurses-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel ln -s /usr/bin/gcc-3.exe /usr/bin/gcc.exe export LIBRARY_PATH=/usr/local/lib/ diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index feb4a0ba..0ab53131 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -263,7 +263,7 @@ _handle_edit(int result, const wint_t ch, char *input, int *size) inp_x = getcurx(inp_win); // CTRL-LEFT - if ((result == KEY_CODE_YES) && (ch == 545 || ch == 540 || ch == 539) && (inp_x > 0)) { + if ((result == KEY_CODE_YES) && (ch == 547 || ch == 545 || ch == 540 || ch == 539) && (inp_x > 0)) { input[*size] = '\0'; gchar *curr_ch = g_utf8_offset_to_pointer(input, inp_x); curr_ch = g_utf8_find_prev_char(input, curr_ch); @@ -313,7 +313,7 @@ _handle_edit(int result, const wint_t ch, char *input, int *size) return 1; // CTRL-RIGHT - } else if ((result == KEY_CODE_YES) && (ch == 560 || ch == 555 || ch == 554) && (inp_x < display_size)) { + } else if ((result == KEY_CODE_YES) && (ch == 562 || ch == 560 || ch == 555 || ch == 554) && (inp_x < display_size)) { input[*size] = '\0'; gchar *curr_ch = g_utf8_offset_to_pointer(input, inp_x); gchar *next_ch = g_utf8_find_next_char(curr_ch, NULL); |