summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/app
diff options
context:
space:
mode:
authorTimo Clasen <[email protected]>2025-06-30 18:57:56 +0200
committerGitHub <[email protected]>2025-06-30 11:57:56 -0500
commitd090c08ef0940d974305adc29ea931e046626786 (patch)
treea32b147b65686baa149dafce8dc61fff3e943e67 /packages/tui/internal/app
parent68e82e4d94a0a10f420a78c60f277f55b9f2fdd5 (diff)
downloadopencode-d090c08ef0940d974305adc29ea931e046626786.tar.gz
opencode-d090c08ef0940d974305adc29ea931e046626786.zip
feat: update user and agent messages width and alignment (#515)
Co-authored-by: adamdottv <[email protected]>
Diffstat (limited to 'packages/tui/internal/app')
-rw-r--r--packages/tui/internal/app/app.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go
index 3bd48f02a..2369b196a 100644
--- a/packages/tui/internal/app/app.go
+++ b/packages/tui/internal/app/app.go
@@ -21,6 +21,7 @@ import (
)
var RootPath string
+var CwdPath string
type App struct {
Info opencode.App
@@ -61,6 +62,7 @@ func New(
httpClient *opencode.Client,
) (*App, error) {
RootPath = appInfo.Path.Root
+ CwdPath = appInfo.Path.Cwd
configInfo, err := httpClient.Config.Get(ctx)
if err != nil {