mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
tui: Move ui_bridge module to tui/ namespace.
This commit is contained in:
@@ -19,13 +19,13 @@
|
|||||||
#include "nvim/api/private/helpers.h"
|
#include "nvim/api/private/helpers.h"
|
||||||
#include "nvim/event/loop.h"
|
#include "nvim/event/loop.h"
|
||||||
#include "nvim/event/signal.h"
|
#include "nvim/event/signal.h"
|
||||||
#include "nvim/tui/tui.h"
|
|
||||||
#include "nvim/tui/input.h"
|
|
||||||
#include "nvim/os/input.h"
|
#include "nvim/os/input.h"
|
||||||
#include "nvim/os/os.h"
|
#include "nvim/os/os.h"
|
||||||
#include "nvim/strings.h"
|
#include "nvim/strings.h"
|
||||||
#include "nvim/ugrid.h"
|
#include "nvim/ugrid.h"
|
||||||
#include "nvim/ui_bridge.h"
|
#include "nvim/tui/input.h"
|
||||||
|
#include "nvim/tui/tui.h"
|
||||||
|
#include "nvim/tui/ui_bridge.h"
|
||||||
|
|
||||||
// Space reserved in the output buffer to restore the cursor to normal when
|
// Space reserved in the output buffer to restore the cursor to normal when
|
||||||
// flushing. No existing terminal will require 32 bytes to do that.
|
// flushing. No existing terminal will require 32 bytes to do that.
|
||||||
|
@@ -9,11 +9,11 @@
|
|||||||
#include "nvim/vim.h"
|
#include "nvim/vim.h"
|
||||||
#include "nvim/ui.h"
|
#include "nvim/ui.h"
|
||||||
#include "nvim/memory.h"
|
#include "nvim/memory.h"
|
||||||
#include "nvim/ui_bridge.h"
|
|
||||||
#include "nvim/ugrid.h"
|
#include "nvim/ugrid.h"
|
||||||
|
#include "nvim/tui/ui_bridge.h"
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "ui_bridge.c.generated.h"
|
# include "tui/ui_bridge.c.generated.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define UI(b) (((UIBridgeData *)b)->ui)
|
#define UI(b) (((UIBridgeData *)b)->ui)
|
@@ -1,6 +1,6 @@
|
|||||||
// Bridge used for communication between a builtin UI thread and nvim core
|
// Bridge used for communication between a builtin UI thread and nvim core
|
||||||
#ifndef NVIM_UI_BRIDGE_H
|
#ifndef NVIM_TUI_UI_BRIDGE_H
|
||||||
#define NVIM_UI_BRIDGE_H
|
#define NVIM_TUI_UI_BRIDGE_H
|
||||||
|
|
||||||
#include <uv.h>
|
#include <uv.h>
|
||||||
|
|
||||||
@@ -39,6 +39,6 @@ struct ui_bridge_data {
|
|||||||
|
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "ui_bridge.h.generated.h"
|
# include "tui/ui_bridge.h.generated.h"
|
||||||
#endif
|
#endif
|
||||||
#endif // NVIM_UI_BRIDGE_H
|
#endif // NVIM_TUI_UI_BRIDGE_H
|
Reference in New Issue
Block a user