#655·watchexec

Feature wanted: PTY support for interactive REPLs

Author: leana8959Created Sep 14, 2023Updated Oct 13, 2025
Labelsnot a bugimprovement

Problem Description

When used with Haskell's Cabal like this: watchexec -e --restart 'hs' 'cabal repl', the backspace fails to work.

Expected

Using backspace would delete the last character.

Actual

Using backspace creates an escaped code \?

Attempts

Using -n or --no-environment didn't change this behaviour. If I remember correctly, this didn't happen with Scala's sbt in repl mode.

Misc

Thank you for the help, have a nice day :)