一个在你的终端中运行的终端模拟器。由 Turbo Vision 提供支持。
A terminal emulator that runs in your terminal. Powered by Turbo Vision

原始链接: https://github.com/magiblot/tvterm

## tvterm:一个 Turbo Vision 终端模拟器 tvterm 是一个实验性的终端模拟器,使用 Turbo Vision 框架构建,旨在展示其高级功能,例如 24 位色支持。它利用 Paul Evan 的 libvterm – Neovim 和 Emacs 也使用的库 – 提供终端模拟能力,并与 Unix 和 Windows 10 (1809+) 兼容。 构建 tvterm 需要克隆 GitHub 仓库(包括子模块,使用 `git clone --recursive`),CMake,一个 C++14 编译器,以及 libvterm、libncursesw (Unix) 等依赖项,以及可选的 libgpm (Linux)。这些依赖项可以与 tvterm 一起构建,也可以通过 CMake 选项链接到系统提供的版本。 目前 tvterm 仍在开发中,旨在展示 Turbo Vision 在现代终端应用程序中的潜力。你可以在 [https://github.com/magiblot/tvterm](https://github.com/magiblot/tvterm) 找到该项目和构建说明。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 一个在终端中运行的终端模拟器。由 Turbo Vision 提供支持 (github.com/magiblot) 7 分,来自 mariuz 1 小时前 | 隐藏 | 过去 | 收藏 | 1 条评论 vintagedave 8 分钟前 [–] 谁知道 Turbo Vision 仍然在使用——更不用说更新、Unicode、跨平台、24 位色? 我最近一直在 .Net Terminal.GUI v2 中解决问题,这真的让我怀念最初的稳定终端 UI 库。可笑的是,当这个东西出现的时候,我当时甚至没有使用它。 我找到了这个仓库链接:https://github.com/magiblot/tvision 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

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.

Additionally, tvterm supports both Unix and Windows (Windows 10 1809 or later).

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

First of all, you should clone this repository along its submodules with the --recursive option of git clone (or run git submodule init && git submodule update if you have already cloned it).

Then, make sure the following dependencies are installed:

  • CMake.
  • A compiler supporting C++14.
  • libvterm:
    • If you initialized the submodules, you can build libvterm as part of tvterm. Perl is needed for building libvterm.
    • Otherwise, a system-provided libvterm (e.g. libvterm-dev in Ubuntu) can be used if enabling the CMake option -DTVTERM_USE_SYSTEM_LIBVTERM=ON.
  • 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:
    • If you initialized the submodules, you can build Turbo Vision as part of tvterm.
    • Otherwise, 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.

tvterm can be built with the following commands:

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 .

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

联系我们 contact @ memedata.com