Skip to content

C#/.NET crossplatform port of antirez kilo editor. VT100 terminal text-editor with highlighting and incremental search.

License

Notifications You must be signed in to change notification settings

AndreyRusyaev/dotnet-kilo

Repository files navigation

.Net/C# port of awesome antirez kilo text editor https://github.com/antirez/kilo. Based on another awesome implementation described in Build Your Own Text Editor. Expected to work in Unix and Windows terminals (cmd, powershell, wsl).

Screens

image

Prerequisites

  • .NET 8.0 or later
dotnet --version
# Expected output: 8.0.X
HOWTO: Install .NET 8 on Windows, Linux, and macOS

Windows

# run in elevated shell
winget install Microsoft.DotNet.SDK.8

Ubuntu

# Register Microsoft packages feed (https://learn.microsoft.com/en-us/linux/packages)
wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

# installation
sudo apt update && sudo apt-get install -y dotnet-sdk-8.0

MacOS

brew install dotnet

See also

Install .NET on Windows, Linux, and macOS

Usage

git clone https://github.com/AndreyRusyaev/dotnet-kilo/
cd dotnet-kilo
dotnet run

Changes

  • abstracted VT100 sequences (see VT100.cs)
  • Unicode support
  • Support for Windows terminals (CMD, Powershell, WSL).
  • Alternate screen mode support (XTERM 1049 mode)

Other remarkable kilo ports/implementations

About

C#/.NET crossplatform port of antirez kilo editor. VT100 terminal text-editor with highlighting and incremental search.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages