Code Monkey home page Code Monkey logo

tvterm's Introduction

tvterm

A terminal emulator that runs in your terminal. Powered by Turbo Vision.

htop, turbo and notcurses-demo running in tvterm

tvterm is an experimental terminal emulator widget and application based on the Turbo Vision framework. It was created for the purpose of demonstrating new features in Turbo Vision such as 24-bit color support.

tvterm relies on Paul Evan's libvterm terminal emulator, also used by Neovim and Emacs.

As of now, tvterm can only be compiled for Unix systems.

The original location of this project is https://github.com/magiblot/tvterm.

Building

In order to build tvterm you must have the following things installed:

  • CMake.
  • A compiler supporting C++14.
  • tvterm's dependencies:
    • libvterm (e.g. libvterm-dev in Ubuntu).
    • Asio 1.12.0 or newer (e.g. libasio-dev in Ubuntu).
  • Turbo Vision's dependencies:
    • libncursesw (Unix only) (e.g. libncursesw5-dev in Ubuntu).
    • libgpm (optional, Linux only) (e.g. libgpm-dev in Ubuntu).
  • Turbo Vision itself. You may do this in two different ways:
    • Use the --recursive option of git clone when cloning this repository (or run git submodule init && git submodule update if you have already cloned it). This way, Turbo Vision will be built along tvterm.
    • Clone Turbo Vision separately and follow its build and install instructions. Make sure you don't use a version of Turbo Vision older than the one required by tvterm (specified in the tvision submodule). When building tvterm, enable the CMake option -DTVTERM_USE_SYSTEM_TVISION=ON.

Then build tvterm with CMake:

cmake . -B ./build -DCMAKE_BUILD_TYPE=Release && # Could also be 'Debug', 'MinSizeRel' or 'RelWithDebInfo'.
cmake --build ./build

CMake versions older than 3.13 may not support the -B option. You can try the following instead:

mkdir -p build; cd build
cmake .. -DCMAKE_BUILD_TYPE=Release &&
cmake --build .

Features

This project is still WIP. Some features it may achieve at some point are:

  • UTF-8 support.
  • fullwidth and zero-width character support.
  • 24-bit color support.
  • Scrollback.
  • Text selection.
  • Find text.
  • Send signal to child process.
  • Text reflow on resize.
  • Having other terminal emulator implementations to choose from.
  • Windows support.
  • Better dependency management.

tvterm's People

Contributors

magiblot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.