mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
Merge branch 'feat/ink-refactor' of github.com:NousResearch/hermes-agent into feat/ink-refactor
This commit is contained in:
commit
7803d21bcc
10 changed files with 78 additions and 239 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
import { clamp } from './layout/geometry.js'
|
||||
import type { Screen, StylePool } from './screen.js'
|
||||
import { cellAt, cellAtIndex, CellWidth, setCellStyleId } from './screen.js'
|
||||
import { CellWidth, cellAt, cellAtIndex, setCellStyleId } from './screen.js'
|
||||
|
||||
type Point = { col: number; row: number }
|
||||
|
||||
|
|
@ -133,7 +133,6 @@ export function clearSelection(s: SelectionState): void {
|
|||
// Unicode-aware word character matcher: letters (any script), digits,
|
||||
// and the punctuation set iTerm2 treats as word-part by default.
|
||||
// Matching iTerm2's default means double-clicking a path like
|
||||
// `/usr/bin/bash` or `~/.claude/config.json` selects the whole thing,
|
||||
// which is the muscle memory most macOS terminal users have.
|
||||
// iTerm2 default "characters considered part of a word": /-+\~_.
|
||||
const WORD_CHAR = /[\p{L}\p{N}_/.\-+~\\]/u
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue