mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
update config with options for new patches
This commit is contained in:
parent
404c7d975a
commit
a673653774
8
config.h
8
config.h
@ -379,8 +379,8 @@ static MouseShortcut mshortcuts[] = {
|
||||
{ ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },
|
||||
#endif // SCROLLBACK_MOUSE_PATCH
|
||||
#if SCROLLBACK_MOUSE_ALTSCREEN_PATCH || REFLOW_PATCH
|
||||
{ XK_NO_MOD, Button4, kscrollup, {.i = 1}, 0, S_PRI },
|
||||
{ XK_NO_MOD, Button5, kscrolldown, {.i = 1}, 0, S_PRI },
|
||||
{ XK_ANY_MOD, Button4, kscrollup, {.i = 1}, 0, S_PRI },
|
||||
{ XK_ANY_MOD, Button5, kscrolldown, {.i = 1}, 0, S_PRI },
|
||||
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"}, 0, S_ALT },
|
||||
{ XK_ANY_MOD, Button5, ttysend, {.s = "\005"}, 0, S_ALT },
|
||||
#else
|
||||
@ -477,6 +477,10 @@ static Shortcut shortcuts[] = {
|
||||
#if INVERT_PATCH
|
||||
{ TERMMOD, XK_X, invert, { 0 } },
|
||||
#endif // INVERT_PATCH
|
||||
#if OSC133_PATCH
|
||||
{ ControlMask, XK_Page_Up, scrolltoprompt, {.i = -1}, S_PRI },
|
||||
{ ControlMask, XK_Page_Down, scrolltoprompt, {.i = 1}, S_PRI },
|
||||
#endif // OSC133_PATCH
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -301,6 +301,13 @@
|
||||
*/
|
||||
#define OPENURLONCLICK_PATCH 0
|
||||
|
||||
/* This patch allows jumping between prompts by utilizing the OSC 133 escape sequence
|
||||
* emitted by shells. Must be used with either reflow or scrollback patch.
|
||||
*
|
||||
* https://codeberg.org/dnkl/foot#jumping-between-prompts
|
||||
*/
|
||||
#define OSC133_PATCH 0
|
||||
|
||||
/* Reflow.
|
||||
* Allows st to be resized without cutting off text when the terminal window is made larger again.
|
||||
* Text wraps when the terminal window is made smaller.
|
||||
|
Loading…
Reference in New Issue
Block a user