Comamoca / libffui

Simple fuzzy select UI library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Last commit Repository Stars Issues Open Issues Bug Issues

eyecatch

libffui

Simple fuzzy select UI library.



libffui.mp4

πŸš€ How to use

#include "ffui.hpp"
#include <stdio.h>

#include <string>
#include <vector>

int main() {
  using namespace std;

  vector<string> choices = {
      "file1.cpp", "file2.h",   "main.cpp", "README.md", "config.json",
      "image.jpg", "script.sh", "data.csv", "test.cpp",  "util.h"};

  string selected = ffui(choices);
  printf("%s\n", selected.c_str());

  return 0;
}

⬇️ Install

Using CMake

WIP

⛏️ Development

cmake -B build && cmake --build build/ && ./build/app

πŸ“ Todo

  • Create C API.
  • Add filter process after transform.

πŸ“œ License

MIT

🧩 Modules

πŸ‘ Affected projects

About

Simple fuzzy select UI library.

License:MIT License


Languages

Language:C++ 78.4%Language:CMake 15.2%Language:Meson 6.4%