Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Text-mode interface for git
C Shell Makefile Other

When redrawing the readline prompt also update the cursor position

In the prompt, moving the cursor back and forth will correctly set the
internal cursor position, allowing for editing the input, but the visual
cursor was permanently stuck to the end of the line. Fix this by moving
the cursor to readline's internal cursor position.

Fixes #396
latest commit aed7113e07
@jonas authored


Tig: text-mode interface for Git

Build Status Join Chat

What is Tig?

Tig is an ncurses-based text-mode interface for git. It functions mainly as a Git repository browser, but can also assist in staging changes for commit at chunk level and act as a pager for output from various Git commands.


Bugs and Feature Requests

Bugs and feature requests can be reported using the issue tracker at or by mail to either the Git mailing list or directly to the maintainer. Ensure that the word "tig" is in the subject. For other Tig related questions please use Stack Overflow:

Installation and News

Information on how to build and install Tig are found in the installation instructions.

News about releases and latest features and bug fixes are found in the release notes.

Something went wrong with that request. Please try again.