mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
Merge e9e5a6a9cb into a38e2f0048
This commit is contained in:
commit
088c7fbf8a
2 changed files with 9 additions and 2 deletions
|
|
@ -562,6 +562,13 @@ export const useSessionBrowserInput = (
|
|||
state.setActiveIndex(0);
|
||||
state.setScrollOffset(0);
|
||||
return true;
|
||||
} else if (key.name === 'return') {
|
||||
const selectedSession =
|
||||
state.filteredAndSortedSessions[state.activeIndex];
|
||||
if (selectedSession && !selectedSession.isCurrentSession) {
|
||||
onResumeSession(selectedSession);
|
||||
}
|
||||
return true;
|
||||
} else if (
|
||||
key.sequence &&
|
||||
key.sequence.length === 1 &&
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ exports[`SessionBrowser component > enters search mode, filters sessions, and re
|
|||
Search: query (Esc to cancel)
|
||||
|
||||
Index │ Msgs │ Age │ Match
|
||||
❯ #1 │ 1 │ 10mo │ You: Query is here a… (+1 more)
|
||||
❯ #1 │ 1 │ 10mo │ You: Query is here a… (+1 more)
|
||||
▼
|
||||
"
|
||||
`;
|
||||
|
|
@ -17,7 +17,7 @@ exports[`SessionBrowser component > renders a list of sessions and marks current
|
|||
Sort: s Reverse: r First/Last: g/G
|
||||
|
||||
Index │ Msgs │ Age │ Name
|
||||
❯ #1 │ 5 │ 10mo │ Second conversation about dogs (current)
|
||||
❯ #1 │ 5 │ 10mo │ Second conversation about dogs (current)
|
||||
#2 │ 2 │ 10mo │ First conversation about cats
|
||||
▼
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in a new issue