mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
More work on builtin pager
This commit is contained in:
parent
76ecf897ce
commit
ef4465efdb
4 changed files with 19 additions and 1 deletions
|
@ -1083,7 +1083,6 @@
|
|||
D0D02A86159839D5008E62BD /* postfork.cpp in Sources */,
|
||||
D0D02A87159839D5008E62BD /* screen.cpp in Sources */,
|
||||
D0D02A88159839D5008E62BD /* signal.cpp in Sources */,
|
||||
D032388B1849D1980032CF2C /* pager.cpp in Sources */,
|
||||
D0D2694A15983779005D9B9C /* builtin.cpp in Sources */,
|
||||
D0D2694915983772005D9B9C /* function.cpp in Sources */,
|
||||
D0D02A67159837AD008E62BD /* complete.cpp in Sources */,
|
||||
|
@ -1107,6 +1106,7 @@
|
|||
D0D02A7915983888008E62BD /* intern.cpp in Sources */,
|
||||
D0D02A7A15983916008E62BD /* env_universal.cpp in Sources */,
|
||||
D0D02A7B15983928008E62BD /* env_universal_common.cpp in Sources */,
|
||||
D032388B1849D1980032CF2C /* pager.cpp in Sources */,
|
||||
D0D02A89159839DF008E62BD /* fish.cpp in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "config.h"
|
||||
|
||||
#include "pager.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
|
|
15
pager.h
15
pager.h
|
@ -0,0 +1,15 @@
|
|||
/** \file pager.h
|
||||
Pager support
|
||||
*/
|
||||
|
||||
#include "complete.h"
|
||||
#include "screen.h"
|
||||
|
||||
/* Represents rendering from the pager */
|
||||
class page_rendering_t
|
||||
{
|
||||
screen_data_t screen_data;
|
||||
};
|
||||
|
||||
typedef std::vector<completion_t> completion_list_t;
|
||||
page_rendering_t render_completions(const completion_list_t &raw_completions, const wcstring &prefix);
|
1
screen.h
1
screen.h
|
@ -13,6 +13,7 @@
|
|||
#define FISH_SCREEN_H
|
||||
|
||||
#include <vector>
|
||||
#include <sys/stat.h>
|
||||
|
||||
/**
|
||||
A class representing a single line of a screen.
|
||||
|
|
Loading…
Reference in a new issue