Is it possible to replace the text in the window title ghci (i.e. the window title of PowerShell.exe or cmd.exe)?
ghci
Likewise, you execute any shell command - using :! .
:!
> :!Title NewTitle
Using System.Process.callCommand from a package process , you can call the executable title :
System.Process.callCommand
process
title
> :m System.Process > callCommand "title A new title for the console window"