feat: enhance TUI with colors, command hints, and improved rendering
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import React, { memo } from 'react';
|
||||
import { Box, Text } from 'ink';
|
||||
|
||||
export interface StatusBarProps {
|
||||
@@ -19,7 +19,7 @@ function formatTokens(n: number): string {
|
||||
return String(n);
|
||||
}
|
||||
|
||||
export function StatusBar({
|
||||
export const StatusBar = memo(function StatusBar({
|
||||
sessionId,
|
||||
messageCount,
|
||||
model,
|
||||
@@ -59,4 +59,4 @@ export function StatusBar({
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user