Expand histsize, increase scroll speed
This commit is contained in:
parent
e40000a15d
commit
a059079fab
3 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ st.o
|
|||
x.o
|
||||
*.tar.gz
|
||||
*.diff
|
||||
.idea/
|
||||
|
|
6
config.h
6
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} },
|
||||
};
|
||||
|
|
2
st.c
2
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue