Lots of refactoring, including adding function stubs

This commit is contained in:
Bruce Hill 2019-05-25 04:30:51 -07:00
parent e5ac52b1d5
commit d111493a8d
3 changed files with 525 additions and 353 deletions

View File

@ -1,9 +1,9 @@
PREFIX=
CC=cc
CFLAGS=-O0 -std=gnu99 -Wall -Wpedantic -Weverything -Wno-missing-field-initializers -Wno-padded -Wno-missing-noreturn -Wno-sign-conversion -Wno-cast-qual -Wno-sign-compare -Wno-shorten-64-to-32
CFLAGS=-O0 -std=gnu99 -Wall -Wpedantic -Weverything -Wno-missing-field-initializers -Wno-padded -Wno-missing-noreturn -Wno-cast-qual
LIBS=
NAME=bb
G=
G=-g
all: $(NAME)

872
bb.c

File diff suppressed because it is too large Load Diff

2
keys.h
View File

@ -229,6 +229,8 @@ const char *keyname(int key)
case KEY_CTRL_H: return "Ctrl-h";
case KEY_CTRL_R: return "Ctrl-r";
case KEY_CTRL_U: return "Ctrl-u";
case KEY_CTRL_T: return "Ctrl-t";
case KEY_CTRL_W: return "Ctrl-w";
case KEY_PGDN: return "PgDn";
case KEY_PGUP: return "PgUp";
case KEY_MOUSE_WHEEL_DOWN: return "Scroll down";