inquirer.rb icon indicating copy to clipboard operation
inquirer.rb copied to clipboard

No such file or directory - tpu civis (Errno:ENOENT)

Open hazelmeow opened this issue 7 years ago • 2 comments

C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/utils/iohelper.rb:109:in ``': No such file or directory - tput civis (Errno::ENOENT) from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/utils/iohelper.rb:109:in without_cursor' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/prompts/list.rb:95:in run' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/prompts/list.rb:120:in ask' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer.rb:12:in list'

hazelmeow avatar Feb 02 '17 01:02 hazelmeow

This happened when using Ask.list

hazelmeow avatar Feb 02 '17 01:02 hazelmeow

After a bit of digging: I was on Windows, and tput is a Unix command. Any way to add Windows support?

hazelmeow avatar Feb 02 '17 01:02 hazelmeow