Skip to content

Commit 234708b

Browse files
authored
Merge pull request #91 from grimmerk/fix/terminal-blinking-cursor-and-cmd-k-behavior
fix: terminal cursor style + Cmd+K clear
2 parents e54e6c3 + eb33da0 commit 234708b

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 1.0.61
4+
5+
- Fix: terminal cursor — white non-blinking block (matching iTerm2 style)
6+
- Feat: Cmd+K clears terminal screen
7+
- Feat: Shift+Enter sends newline in terminal (for Claude Code multi-line input)
8+
39
## 1.0.60
410

511
- Fix: terminal cd uses ~ shorthand + clear for cleaner output

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "CodeV",
33
"productName": "CodeV",
4-
"version": "1.0.60",
4+
"version": "1.0.61",
55
"description": "Quick switcher for VS Code, Cursor, and Claude Code sessions",
66
"repository": {
77
"type": "git",

src/terminal-tab.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ const TerminalTab = ({ visible }: { visible: boolean }) => {
2121
theme: {
2222
background: '#1e1e1e',
2323
foreground: '#e9e9e9',
24-
cursor: '#00BCD4',
24+
cursor: '#C0C0C0',
2525
selectionBackground: 'rgba(0, 188, 212, 0.3)',
2626
},
27-
cursorBlink: true,
27+
cursorBlink: false,
2828
allowProposedApi: true,
2929
});
3030

@@ -39,6 +39,9 @@ const TerminalTab = ({ visible }: { visible: boolean }) => {
3939
// Cmd+←/→ → beginning/end of line
4040
if (e.type === 'keydown' && e.metaKey && e.key === 'ArrowLeft') { term.input('\x01'); return false; }
4141
if (e.type === 'keydown' && e.metaKey && e.key === 'ArrowRight') { term.input('\x05'); return false; }
42+
if (e.type === 'keydown' && e.metaKey && e.key === 'k') { term.clear(); return false; }
43+
// Shift+Enter → Ctrl+J (line feed) for Claude Code multi-line input
44+
if (e.shiftKey && e.key === 'Enter') { if (e.type === 'keydown') term.input('\x0a'); return false; }
4245
return true;
4346
});
4447

0 commit comments

Comments
 (0)