Break cursor movement in grid into a common set of functions that can

handle line wrapping and so on in one place and use them for the obvious
copy mode commands. From Anindya Mukherjee.
This commit is contained in:
nicm
2020-12-22 09:22:14 +00:00
parent 8bd29a30bf
commit c43f2dce1b
4 changed files with 515 additions and 144 deletions

View File

@ -76,6 +76,7 @@ SRCS= alerts.c \
file.c \
format.c \
format-draw.c \
grid-reader.c \
grid-view.c \
grid.c \
input-keys.c \
@ -123,8 +124,7 @@ SRCS= alerts.c \
window-customize.c \
window-tree.c \
window.c \
xmalloc.c \
xterm-keys.c
xmalloc.c
CDIAGFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CDIAGFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations