Skip to content

Commit

Permalink
fix: update default settings: resolves #108
Browse files Browse the repository at this point in the history
  • Loading branch information
daretodave committed May 21, 2024
1 parent 6b3cb38 commit f2a9f76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/constants.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('constants', () => {
})

it('should have the correct DEFAULT_HISTORY_MAX_ITEMS', () => {
expect(DEFAULT_HISTORY_MAX_ITEMS).toBe(100)
expect(DEFAULT_HISTORY_MAX_ITEMS).toBe(1000)
})

it('should have the correct DEFAULT_HISTORY_SAVE_RESULT', () => {
Expand All @@ -74,7 +74,7 @@ describe('constants', () => {
})

it('should have the correct DEFAULT_SETTING_IS_COMMANDER_MODE', () => {
expect(DEFAULT_SETTING_IS_COMMANDER_MODE).toBe(true)
expect(DEFAULT_SETTING_IS_COMMANDER_MODE).toBe(false)
})

it('should have the correct DEFAULT_SETTING_COMMANDER_MODE_BOUNDS', () => {
Expand All @@ -92,7 +92,7 @@ describe('constants', () => {
screen: 'PRIMARY',
x: 'SCREEN:-.5',
y: 'SCREEN:-.5',
w: 720,
w: 820,
h: 500
})
})
Expand Down
6 changes: 3 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export const DEFAULT_PROFILES: Record<string, Profile> =
export const DEFAULT_FOLDER = '$CWD'
export const DEFAULT_HISTORY_ENABLED = true

export const DEFAULT_HISTORY_MAX_ITEMS = 100
export const DEFAULT_HISTORY_MAX_ITEMS = 1000
export const DEFAULT_HISTORY_SAVE_RESULT = true
export const DEFAULT_SETTING_RUNNER_SHORTCUT = '`+CommandOrControl'
export const DEFAULT_SETTING_COMMANDER_MODE_TOGGLE_SHORTCUT = '`+Shift+CommandOrControl'
export const DEFAULT_SETTING_IS_COMMANDER_MODE = true
export const DEFAULT_SETTING_IS_COMMANDER_MODE = false
export const DEFAULT_SETTING_COMMANDER_MODE_BOUNDS = {
screen: 0,
x: 0,
Expand All @@ -44,7 +44,7 @@ export const DEFAULT_SETTING_RUNNER_BOUNDS = {
screen: 'PRIMARY',
x: 'SCREEN:-.5',
y: 'SCREEN:-.5',
w: 720,
w: 820,
h: 500
}

Expand Down

0 comments on commit f2a9f76

Please sign in to comment.