haskell / haskell/haskeline

getPassword stty: standard input: Inappropriate ioctl for device

Open
#155 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
247
Forks
82
PR merge metrics
No merged PRs in 30d

Description

Hello, thanks for the library. I am running windows 10 with powershell. When i use the getPassword function i get the following error `stty: standard input: Inappropriate ioctl for device`. I compiled with profiling to get a stack trace from the exception

```
System.Console.Haskeline.Backend.Win32.Echo.hSttyRaw,
called from System.Console.Haskeline.Backend.Win32.Echo.hGetInputEchoSTTY,
called from System.Console.Haskeline.Backend.Win32.Echo.hGetInputEchoState,
called from System.Console.Haskeline.Backend.Win32.Echo.hBracketInputEcho,
called from System.Console.Haskeline.Backend.Win32.Echo.hWithoutInputEcho,
called from System.Console.Haskeline.Backend.Win32.fileRunTerm,
called from System.Console.Haskeline.Backend.fileHandleRunTerm,
called from System.Console.Haskeline.Backend.defaultRunTerm,
called from System.Console.Haskeline.Term.wrapFileInput,
called from System.Console.Haskeline.promptedInput,
called from System.Console.Haskeline.getPassword,
called from System.Console.Haskeline.Command.History.runHistoryFromFile,
called from System.Console.Haskeline.Command.KillRing.runKillRing,
called from System.Console.Haskeline.Monads.runReaderT',
called from System.Console.Haskeline.InputT.execInputT,
called from System.Console.Haskeline.InputT.runInputTBehavior.\,
called from System.Console.Haskeline.InputT.withBehavior,
called from System.Console.Haskeline.InputT.runInputTBehavior,
called from System.Console.Haskeline.InputT.runInputT,
called from Interactive.askPassword,
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.