未加星标

alacritty - A cross-platform, GPU enhanced terminal emulator

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二04 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏
Alacritty

Alacritty is the fastest terminal emulator in existence. Using the GPU for rendering enables optimizations that simply aren't possible in other emulators. Alacritty currently supports macOS and linux, and windows support is planned before the 1.0 release.


alacritty - A cross-platform, GPU enhanced terminal emulator
About

Alacritty is focused on simplicity and performance. The performance goal means it should be faster than any other terminal emulator available. The simplicity goal means that it doesn't have many features like tabs or scroll back as in other terminals. Instead, it is expected that users of Alacritty make use of a terminal multiplexer such as tmux .

Blog Posts

There is a forthcoming announcement post the week of Jan 2, 2017.

Installation

The only supported installation method at this time is from source. Proper installers will be added prior to the 1.0 release of Alacritty. This section will walk you through how to build from source on both macOS and Ubuntu.

Prerequisites

Install rustup.rs

Clone the source code:

git clone https://github.com/jwilm/alacritty cd alacritty

Make sure you have the right Rust compiler installed. Alacritty is currently pinned to a certain Rust nightly, and the compiler/nightly dependencies are updated as needed. To install the correct compiler, run:

rustup override set $(cat rustc-version) Additional Linux Prerequisites Ubuntu

On Ubuntu, you need a few extra libraries to build Alacritty. Here's an apt command that should install all of them. If something is still found to be missing, please open an issue.

apt-get install cmake libfreetype6-dev libfontconfig1-dev xclip Other

If you build Alacritty on another Linux distribution, we would love some help filling in this section of the README.

Building

Once all the prerequisites are installed, compiling Alacritty should be easy:

cargo build --release

If all goes well, this should place a binary at target/release/alacritty . BEFORE YOU RUN IT: Install the config file as described below; otherwise, many things (such as arrow keys) would not work.

Configuration

Although it's possible the default configuration would work on your system, you'll probably end up wanting to customize it anyhow. There is an alacritty.yml at the git repository root. Copy this to either $HOME/.alacritty.yml or $XDG_CONFIG_HOME/alacritty.yml and run Alacritty.

Many configuration options will take effect immediately upon saving changes to the config file. The only exception is the font and dpi section which requires Alacritty to be restarted. For further explanation of the config file, please consult the comments in the default config file.

Issues (known, unknown, feature requests, etc)

If you run into a problem with Alacritty, please file an issue. If you've got a feature request, feel free to ask about it. Keep in mind that Alacritty is very much not looking to be a feature-rich terminal emulator with all sorts of bells and widgets. It's primarily a cross-platform, blazing fast tmux renderer that Just Works.

FAQ Is it really the fastest terminal emulator? In the terminals I've benchmarked against, alacritty is either faster, WAY faster, or at least neutral. There are no benchmarks in which I've found Alacritty to be slower. It's not fast! Why? There's a known bug affecting some versions of Mesa/libxcb where calls to glClear take an insanely long time. If it's not that, there's probably another bug. I'd be happy to look at the issue if you can provide some profiling information (wall time and otherwise). macOS + tmux + vim is slow! I thought this was supposed to be fast! This appears to be an issue outside of terminal emulators; either macOS has an IPC performance issue, or either tmux or vim (or both) have a bug. This same issue can be seen in iTerm2 and Terminal.app . I've found that if tmux is running on another machine which is connected to Alacritty via SSH, this issue disappears. Actual throughput and rendering performance are still better in Alacritty. Is wayland supported? Not yet. Alacritty is currently on a fork of glutin that needs some updates to work with Wayland. When will Windows support be available? When someone has time to work on it. Contributors would be welcomed :). My arrow keys don't work It sounds like you deleted some key bindings from your config file. Please reference the default config file to restore them. License

Alacritty is released under the Apache License, Version 2.0 .

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: LinuxUbuntuRustWindowsADM
分页:12
转载请注明
本文标题:alacritty - A cross-platform, GPU enhanced terminal emulator
本站链接:http://www.codesec.net/view/520386.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(61)