bingocode 1.1.164 → 1.1.165
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
CHANGED
|
@@ -876,8 +876,8 @@ export const CliMenuManager: React.FC = () => {
|
|
|
876
876
|
// Settings interactions
|
|
877
877
|
if (!showHelp && page === 'settings') {
|
|
878
878
|
if (settingsStage === 'list') {
|
|
879
|
-
//
|
|
880
|
-
const totalRows =
|
|
879
|
+
// Fixed rows: Language, Auto Mode, Bypass, Token Stats = 4 rows
|
|
880
|
+
const totalRows = 4 + (settingData && typeof settingData === 'object' ? Object.keys(settingData).length : 0);
|
|
881
881
|
const visible = Math.max(1, MID_H - 2);
|
|
882
882
|
if (key.downArrow || input === 'j') {
|
|
883
883
|
setSettingsCursor(c => Math.min(totalRows - 1, c + 1));
|