~kris/suckless

st

ref: 3bb3315d3ba370d4db3c84b62d7e5f5b5f7731d3 st/patch/keyboardselect_reflow_x.c -rw-r--r-- 364 bytes
3bb3315d — Kris Yotam switch terminal colorscheme to Plan 9 palette, set border to 4px 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
void keyboard_select(const Arg *dummy)
{
    win.mode ^= kbds_keyboardhandler(-1, NULL, 0, 0);
}

void searchforward(const Arg *)
{
    win.mode ^= kbds_keyboardhandler(-1, NULL, 0, 0);
    kbds_keyboardhandler(-2, NULL, 0, 0);
}

void searchbackward(const Arg *)
{
    win.mode ^= kbds_keyboardhandler(-1, NULL, 0, 0);
    kbds_keyboardhandler(-3, NULL, 0, 0);
}