Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ export const COLORS_STRUCT_SIZE = 12;
* All color values use 0xRRGGBB format. A value of 0 means "use default".
*/
export interface GhosttyTerminalConfig {
/** Scrollback buffer size in bytes. Passed to Terminal.max_scrollback. */
scrollbackLimit?: number;
fgColor?: number;
bgColor?: number;
Expand Down Expand Up @@ -604,7 +605,7 @@ export interface Cursor {
* Terminal configuration (passed to ghostty_terminal_new_with_config)
*/
export interface TerminalConfig {
scrollback_limit: number; // Number of scrollback lines (default: 10,000)
scrollback_limit: number; // Scrollback buffer size in bytes (default: 10,000)
fg_color: RGB; // Default foreground color
bg_color: RGB; // Default background color
}
Expand Down