Coder Social home page Coder Social logo

wayst's Introduction

screenshot

About

Simple terminal emulator for Wayland and X11 with OpenGL rendering and minimal dependencies.

This is roughly alpha quality, expect bugs!

Features

  • Unicode support
  • Text reflow
  • 24-bit colors
  • Dynamic colors
  • All text properties (squiggly underline, blinking, overline etc.)
  • Resizable font
  • Subpixel antialiasing
  • Mouse reporting
  • Scrollback
  • Mouse text selection
  • Clipboard
  • Configurable keybindings
  • Clickable links, OSC 8 links
  • Command history and marks*
  • Terminal image protocol and sixel graphics (experimental)

Limitations

  • UTF8 mode only
  • No Bidi support
  • No font ligatures

To-Do

  • Search
  • Ibus support
  • Single instance multi window mode
  • All xterm and vte control sequences

Building

make
make install

Dependencies:

  • OpenGL >= 2.1/ES 2.0
  • freetype >= 2.10
  • fontconfig
  • xkbcommon [wayland]
  • xrandr [X11]
  • utf8proc [optional]
  • notify-send [optional]

Build options

To build without X11 or Wayland support set window_protocol=wayland or window_protocol=x11 respectively. With both backends enabled wayst will default to wayland. You can force X11 mode with the xorg-only option.

To target OpenGL ES 2.0 instead of OpenGL 2.1 set renderer=gles20.

To build without libutf8proc set libutf8proc=off.

To build with debuging symbols set mode=debug or mode=debugoptimized.

Installation from AUR

You can install wayst-git from AUR (arch user repository)

yay -S wayst-git

Usage

Configuration file

All option can be set in a configuration file or passed as command line arguments. To see all supported options run wayst --help.

Wayst will look for: $XDG_CONFIG_HOME/wayst/config or $HOME/.config/wayst/config. For an example configuration file see config.example.

Shell integration

Wayst can use iTerm2 shell integration sequences or VTE prompt notifications to track command history.

Default Keybindings

Keys Action
Ctrl+Shift+c Copy to clipboard
Ctrl+Shift+x Copy output of last command to clipboard*
Ctrl+Shift+v Paste from clipboard
Ctrl+Shift+= Increase font size
Ctrl+Shift+- Decrease font size
Ctrl+Shift+Up/Down Scroll
Ctrl+Shift+Page Up/Down Scroll by page
Ctrl+Shift+Left/Right Jump to previous/next command output or mark*
Ctrl+Shift+u Enter unicode character by hex code
Ctrl+Shift+k Enter vi-like keyboard select mode
Ctrl+Shift+d Start new instance in active work directory (set by OSC 7)
Ctrl+Shift+F12 HTML screen dump
Ctrl+Shift+\ Pipe to external program
LMB Select text
RMB Change selected region
MMB Paste from primary selection
Shift+LMB Select text in mouse reporting mode
Ctrl + LMB Open link/Box select

License

MIT

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.