mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
refactor: format tui/input.c with uncrustify (#15661)
This commit is contained in:
@@ -2,19 +2,19 @@
|
|||||||
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||||
|
|
||||||
|
|
||||||
|
#include "nvim/api/private/helpers.h"
|
||||||
|
#include "nvim/api/vim.h"
|
||||||
|
#include "nvim/ascii.h"
|
||||||
|
#include "nvim/aucmd.h"
|
||||||
|
#include "nvim/charset.h"
|
||||||
|
#include "nvim/ex_docmd.h"
|
||||||
|
#include "nvim/macros.h"
|
||||||
|
#include "nvim/main.h"
|
||||||
|
#include "nvim/option.h"
|
||||||
|
#include "nvim/os/input.h"
|
||||||
|
#include "nvim/os/os.h"
|
||||||
#include "nvim/tui/input.h"
|
#include "nvim/tui/input.h"
|
||||||
#include "nvim/vim.h"
|
#include "nvim/vim.h"
|
||||||
#include "nvim/api/vim.h"
|
|
||||||
#include "nvim/api/private/helpers.h"
|
|
||||||
#include "nvim/ascii.h"
|
|
||||||
#include "nvim/charset.h"
|
|
||||||
#include "nvim/main.h"
|
|
||||||
#include "nvim/macros.h"
|
|
||||||
#include "nvim/aucmd.h"
|
|
||||||
#include "nvim/ex_docmd.h"
|
|
||||||
#include "nvim/option.h"
|
|
||||||
#include "nvim/os/os.h"
|
|
||||||
#include "nvim/os/input.h"
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
# include "nvim/os/os_win_console.h"
|
# include "nvim/os/os_win_console.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -618,8 +618,7 @@ static void handle_raw_buffer(TermInput *input, bool force)
|
|||||||
} while (rbuffer_size(input->read_stream.buffer));
|
} while (rbuffer_size(input->read_stream.buffer));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void tinput_read_cb(Stream *stream, RBuffer *buf, size_t count_,
|
static void tinput_read_cb(Stream *stream, RBuffer *buf, size_t count_, void *data, bool eof)
|
||||||
void *data, bool eof)
|
|
||||||
{
|
{
|
||||||
TermInput *input = data;
|
TermInput *input = data;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user