All Projects → agauniyal → Termdb

agauniyal / Termdb

Licence: unlicense
Terminfo parser for modern c++ 📠

Programming Languages

cpp
1120 projects
cpp11
221 projects
cpp14
131 projects

Projects that are alternatives of or similar to Termdb

Create Component App
Tool to generate different types of React components from the terminal. 💻
Stars: ✭ 879 (+2735.48%)
Mutual labels:  terminal
Lsankidb
☆ `ls` for your local Anki database.
Stars: ✭ 21 (-32.26%)
Mutual labels:  terminal
Goat
POSIX-compliant shell movement boosting hack for real ninjas (aka `cd x` and `cd ...`)
Stars: ✭ 27 (-12.9%)
Mutual labels:  terminal
Catimg
🦦 Insanely fast image printing in your terminal
Stars: ✭ 880 (+2738.71%)
Mutual labels:  terminal
Teds Terminal
A modern terminal emulator with high DPI support, mouse wheel scaling, 32-bit colour and tty compatible.
Stars: ✭ 20 (-35.48%)
Mutual labels:  terminal
Viu
Simple terminal image viewer written in Rust.
Stars: ✭ 911 (+2838.71%)
Mutual labels:  terminal
Closestx11color
Find the closest xterm-256 colors (between 0 and 255) to an arbitrary HTML hexa color (e.g. #ABCDEF)
Stars: ✭ 13 (-58.06%)
Mutual labels:  terminal
Yori
Yori is a CMD replacement shell that supports backquotes, job control, and improves tab completion, file matching, aliases, command history, and more.
Stars: ✭ 948 (+2958.06%)
Mutual labels:  terminal
Nord Guake
An arctic, north-bluish clean and elegant Guake color theme.
Stars: ✭ 20 (-35.48%)
Mutual labels:  terminal
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+117345.16%)
Mutual labels:  terminal
Fund
Fund是一个方便在终端环境下追踪基金趋势的小工具
Stars: ✭ 15 (-51.61%)
Mutual labels:  terminal
Pixelart
video to character animation magic
Stars: ✭ 20 (-35.48%)
Mutual labels:  terminal
Edex Ui
A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
Stars: ✭ 34,770 (+112061.29%)
Mutual labels:  terminal
Radian
A 21 century R console
Stars: ✭ 878 (+2732.26%)
Mutual labels:  terminal
Gomu
golang TUI music player
Stars: ✭ 27 (-12.9%)
Mutual labels:  terminal
Curlie
The power of curl, the ease of use of httpie.
Stars: ✭ 877 (+2729.03%)
Mutual labels:  terminal
Prompt Checkbox
This repository has been archived, use Enquirer instead.
Stars: ✭ 21 (-32.26%)
Mutual labels:  terminal
Termfunk
A lightweight framework to organize, access and execute your Python functions from the terminal.
Stars: ✭ 31 (+0%)
Mutual labels:  terminal
Termite Color Switcher
termite color switcher
Stars: ✭ 28 (-9.68%)
Mutual labels:  terminal
Alacritty
Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.
Stars: ✭ 36,273 (+116909.68%)
Mutual labels:  terminal

TermDb Build Status codecov

Terminfo parser for modern c++. Docs.

#include "termdb.hpp"
#include <iostream>

using namespace tdb;

int main()
{
	TermDb parser;
	auto result = parser.parse("xterm");

	if (result) {
		auto name = parser.getName();
		auto b    = parser.get(bin::has_meta_key);
		auto n    = parser.get(num::columns);
		auto s    = parser.get(str::enter_bold_mode);

		std::cout << "\n"
		          << "Name: " << name << "\n"
		          << "Has Meta Key: " << std::boolalpha << b << "\n"
		          << "Number of columns: " << n.value_or(24) << "\n"
		          << "Bold Mode on: " << s << "I should be BOLD!"
		          << "\n";
	} else {
		std::cerr << "Couldn't parse terminfo database\n";
	}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].