mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-06 16:59:01 +00:00
tui: add copy last assistant message to session menu
This commit is contained in:
@@ -177,17 +177,14 @@ function App() {
|
||||
const exit = useExit()
|
||||
|
||||
useKeyboard(async (evt) => {
|
||||
if (!Installation.isLocal()) return
|
||||
if (evt.meta && evt.name === "t") {
|
||||
if (process.env.DEBUG) {
|
||||
renderer.toggleDebugOverlay()
|
||||
}
|
||||
renderer.toggleDebugOverlay()
|
||||
return
|
||||
}
|
||||
|
||||
if (evt.meta && evt.name === "d") {
|
||||
if (process.env.DEBUG) {
|
||||
renderer.console.toggle()
|
||||
}
|
||||
renderer.console.toggle()
|
||||
return
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user