creack / pty

PTY interface for Go

Home Page:https://pkg.go.dev/github.com/creack/pty?tab=doc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Piping special keys to Stdin doesn't seem to transfer properly

jherman opened this issue · comments

I noticed this behavior when I use such things as MidnightCommand (mc). I can't navigate around using arrow keys and I can't use any Function keys.

Is there a simple fix to this that I'm missing?

To add to this, I'm also curious about tab completion. When attempting to use bash, I can see tab becomes a regular horizontal tab. Is there a solution to this?

Please provide more details / example. Using the example from the readme, adjusted to use stdin pipe, it works fine.

My mistake. It is working when use your example from the readme versus my bastardized version. My apologies.

No worries, happy to hear it now works :)
feel free to open more more issues if you are having difficulties, just make sure to include enough details