mirror of
https://github.com/tstack/lnav.git
synced 2024-08-17 08:50:41 +03:00
[tests] update tests for mouse change
This commit is contained in:
parent
d8ee0fa58d
commit
4ad451b27d
@ -32,8 +32,12 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "base/injector.bind.hh"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "view_curses.hh"
|
#include "view_curses.hh"
|
||||||
|
#include "xterm_mouse.hh"
|
||||||
|
|
||||||
|
static auto bound_xterm_mouse = injector::bind<xterm_mouse>::to_singleton();
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char* argv[])
|
main(int argc, char* argv[])
|
||||||
|
@ -35,10 +35,12 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "base/injector.bind.hh"
|
||||||
#include "base/lnav_log.hh"
|
#include "base/lnav_log.hh"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "view_curses.hh"
|
#include "view_curses.hh"
|
||||||
#include "vt52_curses.hh"
|
#include "vt52_curses.hh"
|
||||||
|
#include "xterm_mouse.hh"
|
||||||
|
|
||||||
#if defined HAVE_NCURSESW_CURSES_H
|
#if defined HAVE_NCURSESW_CURSES_H
|
||||||
# include <ncursesw/curses.h>
|
# include <ncursesw/curses.h>
|
||||||
@ -61,6 +63,8 @@
|
|||||||
|
|
||||||
#undef set_window
|
#undef set_window
|
||||||
|
|
||||||
|
static auto bound_xterm_mouse = injector::bind<xterm_mouse>::to_singleton();
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char* argv[])
|
main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user