pub fn scrollback() -> usize {
10000
}
pub fn login_shell() -> bool {
true
}
pub fn initial_text() -> String {
String::new()
}
pub fn initial_text_delay_ms() -> u64 {
100
}
pub fn initial_text_send_newline() -> bool {
true
}
pub fn scrollbar_position() -> String {
"right".to_string()
}
pub fn scrollbar_width() -> f32 {
15.0
}
pub fn scrollbar_autohide_delay() -> u64 {
0 }
pub fn paste_delay_ms() -> u64 {
0 }
pub fn clipboard_max_sync_events() -> usize {
64 }
pub fn clipboard_max_event_bytes() -> usize {
2048 }
pub fn activity_threshold() -> u64 {
10 }
pub fn anti_idle_seconds() -> u64 {
60 }
pub fn anti_idle_code() -> u8 {
0 }
pub fn silence_threshold() -> u64 {
300 }
pub fn notification_max_buffer() -> usize {
64 }
pub fn scroll_speed() -> f32 {
3.0 }
pub fn double_click_threshold() -> u64 {
500 }
pub fn triple_click_threshold() -> u64 {
500 }
pub fn cursor_blink_interval() -> u64 {
500 }
pub fn bell_sound() -> u8 {
50 }
pub fn word_characters() -> String {
"/-+\\~_.".to_string()
}
pub fn smart_selection_enabled() -> bool {
true }
pub fn answerback_string() -> String {
String::new() }
pub fn semantic_history_editor() -> String {
String::new() }
pub fn jobs_to_ignore() -> Vec<String> {
vec![
"bash".to_string(),
"zsh".to_string(),
"fish".to_string(),
"sh".to_string(),
"dash".to_string(),
"ksh".to_string(),
"tcsh".to_string(),
"csh".to_string(),
"less".to_string(),
"more".to_string(),
"man".to_string(),
"cat".to_string(),
"sleep".to_string(),
]
}
pub fn session_log_directory() -> String {
if let Some(home) = dirs::home_dir() {
home.join(".local")
.join("share")
.join("par-term")
.join("logs")
.to_string_lossy()
.to_string()
} else {
"logs".to_string()
}
}
pub fn command_history_max_entries() -> usize {
1000 }
pub fn session_undo_timeout_secs() -> u32 {
5
}
pub fn session_undo_max_entries() -> usize {
10
}
pub fn session_undo_preserve_shell() -> bool {
false
}