haskell / haskell/haskeline

Add ability to silence input prompts when using file interaction

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

Description

If I redirect stdin so that inputs are read from a file, the input prompts are still displayed to stdout (with newlines chopped off). This looks rather ugly and amateurish. I'd like to be able to configure the prompt functionality to only prompt in interactive mode.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the file-interaction path that writes input prompts and the existing interactive-mode configuration. Check how redirected stdin is detected, then define and test the behavior: prompts remain in interactive mode but are suppressed when input comes from a file.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.