You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Bracketed paste control characters [200~ leaked into terminal on Ctrl+V #198
When copying and pasting text into the Navop SSH terminal session using standard shortcuts (Cmd+C / Ctrl+C and Cmd+V / Ctrl+V), bracketed paste escape sequences fail to be properly handled or stripped.
As a result, unwanted literal characters such as [200~ (and trailing ~) are inserted directly into the remote command line prompt (e.g., cd [200~<command>~).
如何复现?/ How can we reproduce it?
Environment
Software: Navop
Version: 0.17.0
Client OS: macOS Tahoe 26.6.2
Remote Host OS: Ubuntu 26.04 LTS
Remote Shell: bash
Steps to Reproduce
Open Navop 0.17.0 on macOS Tahoe 26.6.2.
Establish an SSH connection to a remote server running Ubuntu 26.04 LTS.
Copy any text from the terminal or an external editor.
Paste the clipboard contents into the terminal via shortcut (Ctrl+V / Cmd+V).
Observe the text injected into the prompt.
Expected Behavior
The pasted text should be clean and match the clipboard content without leaking terminal escape sequences ([200~ / ~).
Actual Behavior
The terminal input receives raw control sequence artifacts, causing commands or directory paths to fail:
root@host:~/flow# cd [200~verify_activity~
-bash: cd: [200~verify_activity~
### 版本与系统 / Version and system
Navop 0.17.0 / macOS Tahoe 26.6.2 / Ubuntu 26.04 LTS
### 截图、日志或其他信息 / Screenshots, logs, or anything else
_No response_
Activity
fix(terminal_view): 粘贴按实时终端模式判断 bracketed paste,避免包装序列字面泄漏