mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-04 10:11:46 +03:00
fix(tui): keep navigation commands in Herdr panes
This commit is contained in:
+1
-5
@@ -459,11 +459,7 @@ export class NanobotTui {
|
||||
this.activeThemeMode = this.resolveThemeMode(renderer.themeMode)
|
||||
this.palette = this.activeThemeMode === "light" ? LIGHT : DARK
|
||||
this.host = host
|
||||
this.localCommands = host.hosted
|
||||
? LOCAL_COMMANDS.filter(({ command }) => (
|
||||
command === "/context" || command === "/diff" || command === "/exit"
|
||||
))
|
||||
: LOCAL_COMMANDS
|
||||
this.localCommands = LOCAL_COMMANDS
|
||||
this.transcript = new Transcript(
|
||||
renderer,
|
||||
transcriptTheme(this.palette, this.backgroundKnown),
|
||||
|
||||
Reference in New Issue
Block a user