Commit graph

25 commits

Author SHA1 Message Date
Jan De Dobbeleer 23148ea823 fix(windows): use GlobalMemoryStatusEx for memory
resolves #3272
resolves #3514
2023-02-19 16:35:13 +01:00
Jan De Dobbeleer c76e9fd166 feat: ignore leading space on clear 2023-02-05 10:18:04 +01:00
Jan De Dobbeleer 7dce0fe3e7 fix(config): log errors
relates to #3441
2023-02-03 08:28:49 +01:00
Jan De Dobbeleer bc21ba3aef fix(shell): do not fetch cursor position using ANSI
resolves #3434
2023-02-01 10:42:04 +01:00
Jan De Dobbeleer 8ba753e08c fix: remove segment from cache on empty template 2023-01-26 19:58:31 +01:00
Jan De Dobbeleer 51fd45dc60 feat(git): allow to exclude repo's from status fetching 2023-01-26 19:58:31 +01:00
Jan De Dobbeleer 522a216c00 feat: add .PromptCount
relates to #3388
2023-01-23 07:46:35 +01:00
L. Yeung 1a1aecbd36 fix(shell): split environment variable name and value correctly 2023-01-20 06:34:52 +01:00
Jan De Dobbeleer 3ef7f1b481 chore(logs): pretty logs 2023-01-17 10:56:12 +01:00
Jan De Dobbeleer 4024632781 fix(config): use extension of remote config 2023-01-12 15:16:26 +01:00
maxlandon 02c557f42e refactor(go): adapt imports for go.mod consistency 2023-01-06 07:48:14 +01:00
Jan De Dobbeleer 023546fe37 chore(go): rename module 2022-12-28 20:17:59 +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 73e91eab5b fix(shell): lock template cache creation 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer be803c838b fix(template): use correct cache key
resolves #3244
2022-12-25 20:59:46 +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 5047390bc4 fix(windows): build with app exe compatible fork 2022-12-16 13:49:13 +01:00
Jan De Dobbeleer 389262edd0 fix(segment): only case non-alias
relates to #3103
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer 59c1c3f7ba refactor(debug): extract log from platform 2022-11-21 19:29:46 +01:00
Jan De Dobbeleer a5aad7b058 feat(templates): allow querying the segment cache
resolves #3103
2022-11-20 14:04:42 +01:00
Jan De Dobbeleer 0d8b8591cc fix(pid): cache PID from init
resolves #3096
2022-11-19 22:39:09 +01:00
Jan De Dobbeleer 63bb1b4729 feat(cli): toggle segments on/off
resolves #3086
2022-11-17 20:58:00 +01:00
Jan De Dobbeleer 18f6db017a chore: rename environment to platform 2022-11-11 20:23:52 +01:00
Renamed from src/environment/shell.go (Browse further)