- Strip ANSI escapes before sudo prompt detection
- Normalize \r\n/\r line endings for reliable matching
- 300ms delay before sending password (PTY settle time)
- Status bar feedback: "sudo: password sent automatically"
- Encode password explicitly as UTF-8
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Strip ANSI escape sequences before matching sudo prompt
- Normalize \r\n and \r to \n for reliable line splitting
- Add 200ms delay before sending password (let PTY settle)
- Increase buffer to 500 bytes for longer prompts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Single Ctrl+C with selection → copy
- Single Ctrl+C without selection → hint "Press again to send SIGINT"
- Double Ctrl+C within 1.5s → sends SIGINT
- Prevents accidental process termination
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Tighten sudo auto-password to only match "[sudo] password for" in last line (fixes journalctl hang)
- Remove state="disabled" from terminal widget (fixes copy/paste on Windows)
- Copy: Ctrl+C (with selection), Ctrl+Shift+C, right-click menu
- Paste: Ctrl+V, Ctrl+Shift+V, right-click menu
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Terminal:
- Auto-detect [sudo] password prompts in interactive shell output
- Auto-send server password when sudo prompt detected
- Reset detection flag on new command (Enter key)
SSH client (SFTPSession):
- Fix exec_command() sudo password timing (0.1s delay for prompt)
- Fix listdir_attr_sudo() ls output parsing with proper maxsplit
- Handle filenames with spaces, symlinks, and varied ls formats
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Clear remote panel immediately when switching servers
- Add race condition guards in async SFTP connect/refresh
- Validate alias at each async callback to prevent stale UI updates
- Add switching_servers/disconnected/sftp_server_not_found i18n keys
- Properly handle connection results arriving after server switch
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pyte.screens.Char is a namedtuple (immutable), so fields can't be
mutated directly. Also 'width' doesn't exist — the correct field is
'blink'. Now creates new Char(...) objects for buffer restoration.
Fixes server switching being completely broken (AttributeError on save).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Save complete pyte screen state (characters, colors, attributes,
cursor position, modes) via pickle serialization instead of just
plain text. Restore via direct buffer manipulation + full redraw.
Fixes broken/garbled layout when switching between servers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Instead of unconditionally resetting the terminal, reused sessions
now restore the saved screen content from the session pool.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SessionPool: LRU cache for SSH/SFTP sessions across server switches
- Sidebar: green dot indicators for servers with active sessions
- Sidebar: active sessions count label
- Terminal: buffer preservation on server switch via get_current_buffer()
- FilesTab/TerminalTab: pool integration for session reuse
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix infinite reconnect loop in terminal (_send_to_shell guard)
- Safe language switch: disconnect + reconnect instead of object transplant
- Improved SFTP reconnect flow with proper validation
- Add log.debug to all silent exception handlers in ssh_client
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SSH keepalive (30s) on all connections
- SFTP auto-reconnect on connection loss
- Terminal auto-reconnect on send to dead session (max 5 retries)
- Preserve SFTP session when switching UI language
- Guard all remote navigation with connection checks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Save and restore live SFTP session when switching languages
instead of disconnecting and recreating everything from scratch.
Terminal reconnects automatically via set_server().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add transport.set_keepalive(30) to all SSH connections
- Add SFTPSession.reconnect() method
- Auto-reconnect in _refresh_remote with retry on failure
- Auto-reconnect before upload/download operations
- Guard all remote navigation methods with connection checks
- ShellSession.connected wrapped in try/except
- Terminal: reset reconnect counter on send failure, increase max to 5
- Terminal: trigger reconnect on send to dead session
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SFTP cleanup on app close and language switch
- Windows drive selector in local panel
- Browse and Refresh buttons for local panel
- Recursive upload/download/delete of folders
- Drag-and-drop between local and remote panels
- Sudo mode toggle for privileged file operations
- New i18n keys for EN/RU/ZH
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Ctrl+wheel/Ctrl±/Ctrl+0 font zoom (6-28), persisted in settings.json
- Font fallback: Cascadia Mono → Consolas → Courier New (per platform)
- Visual "Copied!" flash in status bar on copy
- Closes audit items #27 (copy feedback) and #29 (font fallback)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add network interface selection per server (VPN/multi-NIC support)
- Fix "Install Everything" button hanging on error
- Add interactive SSH terminal with PTY (pyte + xterm-256color)
- Add release.py for automated versioning and changelog generation
- Add CLAUDE.md with project instructions
- Add screenshots and release binaries for v1.1–v1.4
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Click anywhere on the code area copies to clipboard
- Visual feedback: green flash + checkmark for 400ms
- Hand cursor on code frame, label, and timer
- Copy button still works as before
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v1.2.0:
- GUI localization (EN/RU/ZH) with language switcher and persistent selection
- About dialog (ⓘ) with app info, features, quick start guide
- core/i18n.py — internationalization module with t() function
- All GUI components translated via t() keys
v1.3.0:
- TOTP/2FA tab — Google Authenticator compatible codes with live 30s countdown,
one-click copy, per-server secret management
- core/totp.py — TOTP module (pyotp, RFC 6238)
- core/logger.py — rotating file logger (5MB, 3 backups)
- Stronger Fernet encryption key with automatic migration from old key
- Thread-safe server store with locks, atomic writes, auto-restore on corruption
- Parallel status checks via ThreadPoolExecutor (up to 10 concurrent)
- SSH client: explicit channel cleanup, Unix key permissions
- Server dialog: port validation (1-65535), TOTP secret field
- Language change preserves active tab and server selection
- pyotp dependency added
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>