A Terminal User Interface for the Glasgow Haskell Compiler Interactive Mode
Go to file
Brad Neimann e1f38caa3c Implement tab completion
This provides the GHCi Repl inside GHCiTUI with basic tab completion.
This is slightly more advanced than the standard GHCi tab completion,
but not by much.

This commit also moves around some error and parsing code to help
in this effort.

Co-authored-by: CrystalSplitter <crystal@crystalwobsite.gay>
2024-02-10 20:17:42 -08:00
.github Update docs 2024-01-21 17:59:12 -08:00
app Reorganise modules to create the Ghcitui.Brick module 2024-01-19 01:46:31 -08:00
assets Some more early development 2023-06-06 22:19:12 -07:00
docs/assets Add Splash screenshot to README.md 2024-01-17 01:01:51 -08:00
gen Update manual, downgrade official version to 0.0.1 2024-01-17 01:01:51 -08:00
lib Implement tab completion 2024-02-10 20:17:42 -08:00
test Add submodule Ghcitui for all library components 2024-01-15 02:12:47 -08:00
.gitattributes Use git lfs to store screenshots 2024-01-17 01:01:51 -08:00
.gitignore Add .gitignore 2023-06-03 19:36:39 -07:00
cabal.project Add cabal.project 2023-10-14 21:32:14 -07:00
CHANGELOG.md Update docs 2024-01-21 17:59:12 -08:00
CONTRIBUTING.md Update docs 2024-01-21 17:59:12 -08:00
fourmolu.yaml Add fourmolu.yaml 2023-06-03 19:36:09 -07:00
fswatch_build.sh Run tests with the fswatch_build.sh 2024-01-15 02:12:47 -08:00
ghcitui.cabal Implement tab completion 2024-02-10 20:17:42 -08:00
INSTALL.rst Update README and INSTALL for Hackage 2024-01-21 14:59:41 -08:00
LICENSE Newline at the end of the LICENSE 2023-10-08 00:38:41 -07:00
MANUAL.rst Update manual, downgrade official version to 0.0.1 2024-01-17 01:01:51 -08:00
README.md Update docs 2024-01-21 17:59:12 -08:00
regenerate_help.sh Fix missing keybindings in MANUAL.rst 2024-01-15 13:04:18 -08:00

GHCiTUI: Interactive terminal interface for the Glasgow Haskell Compiler

          /       ______    __  __    ______    __
        //       /\  ___\  /\ \_\ \  /\  ___\  /\_\
       //     ___\ \ \__ \_\ \  __ \_\ \ \_____\ \ \___
' , _ //      \   \ \_____\ \ \_\ \_\ \ \_____\ \ \_\  \
 / \ // 7      \   \/_____/  \/_/\/_/  \/_____/  \/_/   \
    "   \       \           ______   __  __    __        \
    a   a        \         /\__  _\ /\ \/\ \  /\ \        \
 |_      \        \________\/_/\ \/_\ \ \_\ \_\ \ \________\
   '._    '                   \ \_\  \ \_____\ \ \_\
     (' _ '                    \/_/   \/_____/  \/_/

GitHub Actions Workflow Status

This is an experimental front-end terminal interface for ghci. It provides a source viewer, keybindings, an interactive interpreter, and a local context viewer.

Splash Image For GHCiTUI

Installation

You can install this project from Hackage using cabal or from source. See INSTALLATION for details.

Basic Usage

For full usage, please see the manual.

Starting the TUI

GHCiTUI runs a repl in the current directory by default.

$ cd your/cabal/project/root/directory
$ ghcitui

You can specify another directory with the -C <DIR> flag.

$ ghcitui -C some/other/directory

Quitting the TUI

Press <ESC> or q while in the code viewport panel to quit. While not in the code viewport panel, you may press <ESC> to get to the viewport panel.

Contributing

Contributors are welcome! Please see CONTRIBUTING to see how.