summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES6
-rw-r--r--TODO1
-rw-r--r--input.c9
3 files changed, 9 insertions, 7 deletions
diff --git a/CHANGES b/CHANGES
index 240961a6..fa7d774a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,9 +1,9 @@
-23 November 2007
+3 November 2007
* Mostly complete copy & paste. Copy mode entered with C-b [ (copy-mode
command). In copy mode, arrow keys/page up/page down/hjkl/C-u/C-f navigate,
space or C-space starts selection, and enter or C-w copies and (important!)
- exits copy mode. C-b ] (paste-buffer) pastes into current terminal. No
+ exits copy mode. C-b ] (paste-buffer) pastes into current window. No
extra utility keys (bol/eol/clear selection/etc), only one single buffer,
and no buffer manipulation commands (clear/view/etc) yet. The code is also
fugly :-(.
@@ -263,4 +263,4 @@
(including mutt, emacs). No status bar yet and no key remapping or other
customisation.
-$Id: CHANGES,v 1.82 2007-11-23 17:52:54 nicm Exp $
+$Id: CHANGES,v 1.83 2007-11-23 22:51:13 nicm Exp $
diff --git a/TODO b/TODO
index dfccd2f5..9979bc66 100644
--- a/TODO
+++ b/TODO
@@ -77,6 +77,7 @@
- garbage collect window history (100 lines at a time?) if it hasn't been used
in $x time (need window creation/use times)
- lift SHRT_MAX limits for history
+- audit copy/scroll and other modes for problems with very small windows
-- For 0.2 --------------------------------------------------------------------
- copy and paste
diff --git a/input.c b/input.c
index c01d9ba3..53f1be7b 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.35 2007-11-21 14:50:41 nicm Exp $ */
+/* $Id: input.c,v 1.36 2007-11-23 22:51:13 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -535,9 +535,10 @@ input_handle_sequence(u_char ch, struct input_ctx *ictx)
u_int i;
struct input_arg *iarg;
- log_debug2("-- sq %zu: %hhu (%c): %u [sx=%u, sy=%u, cx=%u, cy=%u]",
- ictx->off, ch, ch, ARRAY_LENGTH(&ictx->args),
- screen_size_x(s), screen_size_y(s), s->cx, s->cy);
+ log_debug2("-- sq %zu: %hhu (%c): %u [sx=%u, sy=%u, cx=%u, cy=%u, "
+ "ru=%u, rl=%u]", ictx->off, ch, ch, ARRAY_LENGTH(&ictx->args),
+ screen_size_x(s), screen_size_y(s), s->cx, s->cy, s->rupper,
+ s->rlower);
for (i = 0; i < ARRAY_LENGTH(&ictx->args); i++) {
iarg = &ARRAY_ITEM(&ictx->args, i);
if (*iarg->data != '\0')