Adding universcroll patch ref. #21
This commit is contained in:
parent
a1303a8811
commit
a5435903d4
11 changed files with 36 additions and 12 deletions
|
|
@ -29,10 +29,3 @@ kscrollup(const Arg* a)
|
|||
tfulldirt();
|
||||
}
|
||||
}
|
||||
|
||||
#if SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
int tisaltscr(void)
|
||||
{
|
||||
return IS_SET(MODE_ALTSCREEN);
|
||||
}
|
||||
#endif // SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
|
|
@ -15,7 +15,3 @@ typedef struct {
|
|||
|
||||
extern MouseKey mkeys[];
|
||||
#endif // SCROLLBACK_MOUSE_PATCH / SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
|
||||
#if SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
int tisaltscr(void);
|
||||
#endif // SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
|
|
@ -20,6 +20,9 @@
|
|||
#if SCROLLBACK_PATCH || SCROLLBACK_MOUSE_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
#include "scrollback.c"
|
||||
#endif
|
||||
#if UNIVERSCROLL_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
#include "universcroll.c"
|
||||
#endif
|
||||
#if SIXEL_PATCH
|
||||
#include "sixel_st.c"
|
||||
#endif
|
||||
|
|
@ -20,6 +20,9 @@
|
|||
#if SCROLLBACK_PATCH || SCROLLBACK_MOUSE_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
#include "scrollback.h"
|
||||
#endif
|
||||
#if UNIVERSCROLL_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||||
#include "universcroll.h"
|
||||
#endif
|
||||
#if SIXEL_PATCH
|
||||
#include "sixel_st.h"
|
||||
#endif
|
||||
5
patch/universcroll.c
Normal file
5
patch/universcroll.c
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
int
|
||||
tisaltscr(void)
|
||||
{
|
||||
return IS_SET(MODE_ALTSCREEN);
|
||||
}
|
||||
1
patch/universcroll.h
Normal file
1
patch/universcroll.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
int tisaltscr(void);
|
||||
Loading…
Add table
Add a link
Reference in a new issue