Commit graph

1056 commits

Author SHA1 Message Date
maxlandon 02c557f42e refactor(go): adapt imports for go.mod consistency 2023-01-06 07:48:14 +01:00
Jan De Dobbeleer b5bb060641 fix(compare): support int64
resolves #3309
2023-01-05 21:00:22 +01:00
Jan De Dobbeleer c1bf3a16fe refactor(ansi): do not print when invisible 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 850787cd6f refactor(ansi): write inverted colors correctly for transparency 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 0ebd59297b refactor(ansi): count text correctly 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer f1b1a72868 refactor: move hyperlink logic intro writer loop 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 59ddfc2ba1 refactor: remove unused function 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 48d8a522bf refactor: rename color module to ansi 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 005445b9fe refactor(ansi): rewrite ansi and writer 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer e957e5f8cc fix(fish): do not fix fish bug for hyperlinks 2023-01-02 20:09:08 +01:00
Jan De Dobbeleer 77d5c9ed95 refactor(ansi): do not allow plain GOOS override 2023-01-02 19:23:38 +01:00
Jan De Dobbeleer ce7b7f1501 fix(fish): different hyperlink format on linux 2023-01-02 18:36:13 +01:00
Jan De Dobbeleer 784b5f1492 fix(colors): fallback to transparent on empty colors
resolves #3276
2022-12-31 12:30:16 +01:00
maxlandon 3559254292 chore: do not load config options more than once
do not set options for the configuration when it already has been set

this allows several prompt engines being created in a single runtime
2022-12-30 20:04:48 +01:00
LNK LEO 6ae0af6853 fix(networks): get missing 2 bytes back in SSID 2022-12-30 16:17:17 +01:00
Jan De Dobbeleer cf4aa4ed62 fix(engine): always return a new writer for init
resolves #3268
2022-12-29 21:32:57 +01:00
NoF0rte 9d81f5a362 feat(style): segment style as a template string 2022-12-29 19:44:50 +01:00
NoF0rte 9e40a1a0dc feat: conditional segment styles 2022-12-29 19:44:50 +01:00
L. Yeung a3ef56f7fa fix(python): set home_enabled to false by default 2022-12-29 11:28:01 +01:00
Jan De Dobbeleer 023546fe37 chore(go): rename module 2022-12-28 20:17:59 +01:00
maxlandon 04bfb2eef1 feat: add segment writers at runtime 2022-12-28 20:17:59 +01:00
Jan De Dobbeleer 8cd8c9a7be feat(color): do not clear parent colors 2022-12-28 17:14:29 +01:00
Jan De Dobbeleer 60664e245a feat(git): remove stash and worktree count from template
they are now individual functions so they no longer need a switch
2022-12-28 17:14:29 +01:00
Jan De Dobbeleer dee040c719 fix(shell): lock template cache correctly 2022-12-28 17:14:29 +01:00
Jan De Dobbeleer 3cdb3bfc1d fix(shell): do not lock template cache
resolves #3254
2022-12-27 17:32:45 +01:00
Jan De Dobbeleer 07206e5aae feat(project): add always_enabled and project type 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 73e91eab5b fix(shell): lock template cache creation 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 2f1bf39253 feat(svn): exclude branch info from fetch_status
resolves #3252
2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 9dd462c0d0 fix(engine): close Env after prompt generation
relates to #3244
2022-12-25 20:59:46 +01:00
Jan De Dobbeleer be803c838b fix(template): use correct cache key
resolves #3244
2022-12-25 20:59:46 +01:00
Michael Carman d9f59272f2 feat(svn): add counting of untracked files; don't default to counting as "unmerged" 2022-12-25 20:32:19 +01:00
Jan De Dobbeleer ed870295be fix(go): correct gopsutil dependency
resolves #3231
2022-12-21 19:34:30 +01:00
maxlandon edc02ddb48 refactor(engine): new instantiation function
this commit adds a function to instantiate a new prompt engine
to be used within a Go application (typically a readline shell)
2022-12-20 20:14:13 +01:00
Jan De Dobbeleer 2255f9fd44 feat(template): custom compare functions
resolves #3218
2022-12-18 15:02:57 +01:00
Jan De Dobbeleer 80b92505bc fix(template): remove the need for escaping a dot literal 2022-12-18 15:02:57 +01:00
Jan De Dobbeleer 2dc8dab25b feat(template): print actual error
relates to #3218
2022-12-18 15:02:57 +01:00
David Anthoff f965dc49aa
feat(project): add support for Julia 2022-12-18 14:55:57 +01:00
Jan De Dobbeleer 5047390bc4 fix(windows): build with app exe compatible fork 2022-12-16 13:49:13 +01:00
Jan De Dobbeleer 2b09eee61f chore(go): update dependencies 2022-12-14 15:50:57 +01:00
Jan De Dobbeleer 309b044174 fix(windows): revert use of virtual file system for Windows apps
the virtual file system is unable to detect the presence of an
AppExecLink, so we need to revert back to using the real file system
2022-12-10 11:31:46 +01:00
Jan De Dobbeleer 2cba140522 fix(warp): support rprompt 2022-12-08 11:37:04 +01:00
Jan De Dobbeleer 1e50107ff6 fix(warp): support newlines 2022-12-08 11:37:04 +01:00
L. Yeung 3dc8538136 feat(pwsh): make it compatible with NVS auto-switching 2022-12-07 14:11:14 +01:00
Jan De Dobbeleer fc80a8e11d fix(path): ignore empty root in full path
resolves #2962
2022-12-07 06:42:56 +01:00
Jan De Dobbeleer a86ab4f525 fix(color): validate number range 2022-12-06 21:31:00 +01:00
Jan De Dobbeleer 20462aa50f fix(colors): support 256 palette
resolves #3175
2022-12-06 20:30:40 +01:00
Jan De Dobbeleer a1801f717c chore(path): add home tests for mapped locations 2022-12-06 20:30:40 +01:00
Jan De Dobbeleer 8365aae504 feat: allow block to hide based on terminal width 2022-12-03 17:31:15 +01:00
mirsella 93f6576da0 feat: allow segments to hide based on terminal width 2022-12-03 11:20:06 +01:00
Lemorz56 acd4d01d4d feat: add gitversion segment 2022-11-30 12:51:08 +01:00