Skip to content

Commit

Permalink
feat: Increase max history size
Browse files Browse the repository at this point in the history
  • Loading branch information
michidk committed Sep 14, 2024
1 parent 086b695 commit 5b1c1e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ use std::{

use crate::launch::Behavior;

const MAX_HISTORY_ENTRIES: usize = 20;
/// The maximum number of entries to keep in the history
// This is an arbitrary number, but it should be enough to keep the history manageable
const MAX_HISTORY_ENTRIES: usize = 35;

/// An entry in the history
#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down

0 comments on commit 5b1c1e3

Please sign in to comment.