summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/input
diff options
context:
space:
mode:
authorDidier Durand <[email protected]>2025-07-26 02:20:01 +0200
committerGitHub <[email protected]>2025-07-25 20:20:01 -0400
commit2c924b9fdb255f943467fb70b018253b6ed33edb (patch)
treec8db86aac7f9591c4a04faa8e475ccd1fdf109f4 /packages/tui/input
parente8eaa77bf1714af985f82faf2cee6950ec3ea0f3 (diff)
downloadopencode-2c924b9fdb255f943467fb70b018253b6ed33edb.tar.gz
opencode-2c924b9fdb255f943467fb70b018253b6ed33edb.zip
fixing various typos in text. (#1185)
Diffstat (limited to 'packages/tui/input')
-rw-r--r--packages/tui/input/key_test.go2
-rw-r--r--packages/tui/input/table.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/tui/input/key_test.go b/packages/tui/input/key_test.go
index 9bf4d9a51..b09f2f859 100644
--- a/packages/tui/input/key_test.go
+++ b/packages/tui/input/key_test.go
@@ -777,7 +777,7 @@ var seed = flag.Int64("seed", 0, "random seed (0 to autoselect)")
// the seed flag was set.
func genRandomData(logfn func(int64), length int) randTest {
// We'll use a random source. However, we give the user the option
- // to override it to a specific value for reproduceability.
+ // to override it to a specific value for reproducibility.
s := *seed
if s == 0 {
s = time.Now().UnixNano()
diff --git a/packages/tui/input/table.go b/packages/tui/input/table.go
index d2373236b..7e81fde38 100644
--- a/packages/tui/input/table.go
+++ b/packages/tui/input/table.go
@@ -206,7 +206,7 @@ func buildKeysTable(flags int, term string) map[string]Key {
table["\x1bOc"] = Key{Code: KeyRight, Mod: ModCtrl}
table["\x1bOd"] = Key{Code: KeyLeft, Mod: ModCtrl}
//nolint:godox
- // TODO: invistigate if shift-ctrl arrow keys collide with DECCKM keys i.e.
+ // TODO: investigate if shift-ctrl arrow keys collide with DECCKM keys i.e.
// "\x1bOA", "\x1bOB", "\x1bOC", "\x1bOD"
// URxvt modifier CSI ~ keys