diff options
author | pommicket <pommicket@gmail.com> | 2023-08-15 11:00:00 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-15 11:31:06 -0300 |
commit | ad8c5d1466eb8edf2e6343f28026ae993ac31f2c (patch) | |
tree | b4a9d475b47cc978c66d830ea61a99c0464af9f8 /ted.h | |
parent | 4ea381d6a8a2a560213de896bab2aad02a70f937 (diff) |
use home/end with selector
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,7 +22,7 @@ extern "C" { #include "command.h" /// Version number -#define TED_VERSION "3.0" +#define TED_VERSION "2.5" /// Maximum path size ted handles. #define TED_PATH_MAX 1024 /// Config filename @@ -1244,6 +1244,10 @@ void selector_free(Selector *s); void selector_up(Ted *ted, Selector *s); /// move selector cursor down void selector_down(Ted *ted, Selector *s); +/// move selector cursor to the first entry +void selector_home(Ted *ted, Selector *s); +/// move selector cursor to the last entry +void selector_end(Ted *ted, Selector *s); /// sort entries by comparison function void selector_sort_entries(Selector *s, int (*compar)(void *context, const SelectorEntry *e1, const SelectorEntry *e2), void *context); /// sort entries alphabetically |