jesseduffield.lazygit/pkg/utils
Rabin Yasharzadehe 8730d58ba6 feat: add configurable terminal window title
Add a `gui.terminalTitle` config option (default: `lazygit::{{repoName}}`)
that sets the terminal window title via ANSI escape sequences through
gocui.Screen.SetTitle(). The title updates on startup and when switching
repos. Control characters are sanitized to prevent escape sequence
injection. Set to empty string to disable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-09-06 10:00:19 +03:00
..
yaml_utils Rework the custom pager config (rename to diff renderer) 2026-07-31 08:42:51 +02:00
color.go Store TextStyle in Pipe struct as pointer 2025-04-29 14:57:15 +02:00
color_test.go Fix Decolorise to also strip hyperlinks 2024-08-24 10:36:01 +02:00
date.go Make UnixToDateSmart timezone-deterministic 2026-05-02 17:59:27 +02:00
date_test.go Make UnixToDateSmart timezone-deterministic 2026-05-02 17:59:27 +02:00
dummies.go Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
errors.go move OS commands into their own package 2020-09-29 20:48:49 +10:00
formatting.go Replace go-runewidth with uniseg 2025-12-23 16:49:16 +01:00
formatting_test.go Replace go-runewidth with uniseg 2025-12-23 16:49:16 +01:00
history_buffer.go chore: use errors.New to replace fmt.Errorf with no parameters. 2024-04-24 16:21:34 +08:00
history_buffer_test.go Add search history 2023-09-20 08:35:41 +03:00
io.go Fix ForEachLineInFile to not lose the last line if it doesn't end with a LF 2024-10-09 15:37:08 +02:00
io_test.go Fix ForEachLineInFile to not lose the last line if it doesn't end with a LF 2024-10-09 15:37:08 +02:00
lines.go Replace go-runewidth with uniseg 2025-12-23 16:49:16 +01:00
lines_test.go Copy gocui files into lazygit repo under pkg/gocui 2026-04-30 14:29:08 +02:00
once_writer.go add deadlock mutex package 2022-08-07 11:16:14 +10:00
once_writer_test.go Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
rebase_todo.go Move dragged commits in one rebase 2026-07-31 08:37:28 +02:00
rebase_todo_test.go Move dragged commits in one rebase 2026-07-31 08:37:28 +02:00
regexp.go add FindNamedMatches function in utils 2021-12-26 16:48:23 +11:00
regexp_test.go add FindNamedMatches function in utils 2021-12-26 16:48:23 +11:00
search.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
search_test.go Rename FuzzySearch to FilterStrings 2024-03-17 11:55:30 +01:00
slice.go Modernize all codes 2025-11-15 10:46:23 +01:00
slice_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
stack.go Make StringStack generic 2026-08-08 11:15:01 +02:00
string_pool.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
template.go feat: add configurable terminal window title 2026-09-06 10:00:19 +03:00
template_test.go feat: add configurable terminal window title 2026-09-06 10:00:19 +03:00
thread_safe_map.go use thread safe map 2022-10-02 20:57:44 -07:00
thread_safe_map_test.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
utils.go Expand a leading ~ in worktree paths to the home directory 2026-07-03 18:53:05 +02:00
utils_test.go Expand a leading ~ in worktree paths to the home directory 2026-07-03 18:53:05 +02:00