JetBrains / jediterm

Pure Java Terminal Emulator. Works with SSH and PTY.
GNU Lesser General Public License v3.0
675 stars 171 forks source link

Clearing the buffer causes "Attempt to get line out of bounds" errors #271

Open ShadelessFox opened 1 year ago

ShadelessFox commented 1 year ago

Repeating errors in the log:

[2023-08-20 01:47:33] [SEVERE ] Attempt to get line out of bounds: -1 < 0
[2023-08-20 01:47:34] [SEVERE ] Attempt to get line out of bounds: -1 < 0
[2023-08-20 01:47:34] [SEVERE ] Attempt to get line out of bounds: -1 < 0
... and so on

Reproducible against b154fb9fcee0d6eaca3481c6de9088b329ac3eb2 on Windows 11 with PowerShell as the default shell.

STR:

  1. Launch using jediterm.bat
  2. Press CTRL+L to clear the buffer
hsuh commented 5 months ago

I'm also having the same error. I use ideaVim and RubyMine crashes when I use 'P/p' to paste lines