11.2. Interacting with the terminal
Prev | Chapter 11. Running GHC on Win32 systems | Next

## 11.2. Interacting with the terminal

By default GHC builds applications that open a console window when they start. If you want to build a GUI-only application, with no console window, use the flag `-optl-mwindows` in the link step.

For some reason, Mingw ships with the `readline` library, but not with the `readline` headers. As a result, GHC (like Hugs) does not use `readline` for interactive input on Windows. You can get a close simulation by using an emacs shell buffer!

Prev | Up | Next
Chapter 11. Running GHC on Win32 systems | Home | 11.3. Differences in library behaviour