diff --git a/.gitignore b/.gitignore index c525bb7..4c3aa18 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ st.o x.o *.tar.gz *.diff +.idea/ diff --git a/config.h b/config.h index f2117ad..c8f174b 100644 --- a/config.h +++ b/config.h @@ -22,7 +22,7 @@ static int borderpx = 2; * 4: value of shell in /etc/passwd * 5: value of shell in config.h */ -static char *shell = "/bin/zsh"; +static char *shell = "/bin/bash"; char *utmp = NULL; /* scroll program: to enable use a string like "scroll" */ char *scroll = NULL; @@ -219,8 +219,8 @@ static MouseShortcut mshortcuts[] = { MouseKey mkeys[] = { /* button mask function argument */ - { Button4, ShiftMask, kscrollup, {.i = 1} }, - { Button5, ShiftMask, kscrolldown, {.i = 1} }, + { Button4, ShiftMask, kscrollup, {.i = 5} }, + { Button5, ShiftMask, kscrolldown, {.i = 5} }, { Button4, TERMMOD, zoom, {.f = +1} }, { Button5, TERMMOD, zoom, {.f = -1} }, }; diff --git a/st.c b/st.c index 949e33d..cb740f8 100644 --- a/st.c +++ b/st.c @@ -35,7 +35,7 @@ #define ESC_ARG_SIZ 16 #define STR_BUF_SIZ ESC_BUF_SIZ #define STR_ARG_SIZ ESC_ARG_SIZ -#define HISTSIZE 2000 +#define HISTSIZE 60000 /* macros */ #define IS_SET(flag) ((term.mode & (flag)) != 0)