github-search-cli 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tui.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-search-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Terminal-native GitHub browser — search, trending, bookmarks, history, deep-dive, compare, export, and more. All keyboard-driven, no browser needed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/tui.ts
CHANGED
|
@@ -1262,6 +1262,10 @@ export async function launchBrowser(): Promise<void> {
|
|
|
1262
1262
|
return;
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
|
+
// ponytail: guard single-letter bindings behind !searchInput.focused
|
|
1266
|
+
// so typing a repo name containing t/g/r/s/l/o/d/c doesn't trigger actions
|
|
1267
|
+
if (!searchInput.focused) {
|
|
1268
|
+
|
|
1265
1269
|
if (key.name === "g") {
|
|
1266
1270
|
toggleGraph();
|
|
1267
1271
|
return;
|
|
@@ -1386,6 +1390,8 @@ export async function launchBrowser(): Promise<void> {
|
|
|
1386
1390
|
return;
|
|
1387
1391
|
}
|
|
1388
1392
|
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1389
1395
|
// Ctrl+E — export
|
|
1390
1396
|
if (key.ctrl && key.name === "e") {
|
|
1391
1397
|
showOverlay("export");
|