ble.sh: Multiline prompts duplicate when resizing pane in tmux

ble version: 0.4.0-devel3+7d05a28 Bash version: 5.1.8(1)-release (x86_64-pc-linux-gnu)

When I resize the the tmux pane with my mouse on the middle bar the prompts duplicate and inputs have a very high delay including <kbd>Ctrl</kbd>+<kbd>C</kbd>. When I run ble-detach and stty sane; this no longer happens for the pane.

image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (11 by maintainers)

Most upvoted comments

Now I also have problems to reproduce it. I think it only happens when you didn’t input anything before in the terminal. After pasting the trap it never happens or when I add it to my startup scripts. The only thing I noticed is that WHICHxx is always printed before the mini delay and the PROMPT repaints.

Does this delay also happens with bleopt canvas_winch_action=redraw-prev? I’d like to know these two problems are correlated or independent.

It happens independent of this setting.

Does it always happen in your environment?

It happens for me all the time when I resize a pane right after creating it without the WHINCH trap. Could it be something how I load blesh through PROMPT_COMMAND?

What is your outer terminal?

Windows Terminal dev