bubbletea icon indicating copy to clipboard operation
bubbletea copied to clipboard

textinput output is ssh.session,textinput keep moving in client termianl

Open njfanxun opened this issue 2 years ago • 5 comments

image update func use。 but my terminal is keep moving tty

njfanxun avatar Mar 13 '23 09:03 njfanxun

Hey @njfanxun thanks so much for the demo. Do you mind providing a minimal reproducible example for this issue? Would love to help get it sorted!

bashbunni avatar Mar 26 '23 01:03 bashbunni

Also, what terminal emulator are you using? I know I've had weird behaviour happen in the past with kitty and SSH when I wasn't using their SSH kitten to connect to endpoints over SSH

bashbunni avatar Mar 26 '23 01:03 bashbunni

er,my terminal is macos iterm2. i use https://github.com/erikgeiser/promptkit. the repo's textinput happened that。Of course, I used ssh server。After connecting up through my iterm2。I read the promptkit source code,I guess,it may be promptkit use go template for view method。

njfanxun avatar Mar 27 '23 15:03 njfanxun

I wasn't able to reproduce the textinput glitching out with the textinput example from promptkit. I used the latest version of iterm2 and ssh'd into my machine to run it as well and didn't have any weird behaviour. Your prompts don't look like what's in any of the example files in promptkit. I can try again with the token example if you can provide me with an example I can run

bashbunni avatar Mar 28 '23 03:03 bashbunni

ssh-portal.zip my code is in zip. run code and in your iterm2 input "ssh localhost", the above problem will appear

njfanxun avatar Mar 29 '23 03:03 njfanxun