mirror of
https://github.com/charmbracelet/gum
synced 2024-06-11 02:02:17 +02:00
fix: use charmbracelet/glamour
This commit is contained in:
parent
fa3d3f5404
commit
8d7fed5ac1
|
@ -149,7 +149,7 @@ Prompt for input with a simple command.
|
|||
gum input > answer.text
|
||||
```
|
||||
|
||||
<img src="https://stuff.charm.sh/gum/input.gif?" width="600" alt="Shell running gum input typing Not much, you?" />
|
||||
<img src="https://stuff.charm.sh/gum/input_1.gif" width="600" alt="Shell running gum input typing Not much, you?" />
|
||||
|
||||
#### Write
|
||||
|
||||
|
@ -210,7 +210,7 @@ Confirm whether to perform an action. Exits with code `0` (affirmative) or `1`
|
|||
gum confirm && rm file.txt || echo "File not removed"
|
||||
```
|
||||
|
||||
<img src="https://stuff.charm.sh/gum/confirm.gif" width="600" alt="Shell running gum confirm" />
|
||||
<img src="https://stuff.charm.sh/gum/confirm_1.gif" width="600" alt="Shell running gum confirm" />
|
||||
|
||||
|
||||
#### Spin
|
||||
|
|
2
go.mod
2
go.mod
|
@ -14,5 +14,3 @@ require (
|
|||
github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739
|
||||
github.com/sahilm/fuzzy v0.1.0
|
||||
)
|
||||
|
||||
replace github.com/charmbracelet/glamour => ../glamour
|
||||
|
|
2
go.sum
2
go.sum
|
@ -16,6 +16,8 @@ github.com/charmbracelet/bubbles v0.13.1-0.20220708023448-746ec595c3d1/go.mod h1
|
|||
github.com/charmbracelet/bubbletea v0.21.0/go.mod h1:GgmJMec61d08zXsOhqRC/AiOx4K4pmz+VIcRIm1FKr4=
|
||||
github.com/charmbracelet/bubbletea v0.22.0 h1:E1BTNSE3iIrq0G0X6TjGAmrQ32cGCbFDPcIuImikrUc=
|
||||
github.com/charmbracelet/bubbletea v0.22.0/go.mod h1:aoVIwlNlr5wbCB26KhxfrqAn0bMp4YpJcoOelbxApjs=
|
||||
github.com/charmbracelet/glamour v0.5.1-0.20220714174944-07125e934fe1 h1:bWmPZ6Y6e13YD7Z+mDK1hTTlKPDG5/Iva8VU45wT7PQ=
|
||||
github.com/charmbracelet/glamour v0.5.1-0.20220714174944-07125e934fe1/go.mod h1:hcyXkEPyH1DLkez8Y/4JTrkAR1OGg7twkW2RMurKhVo=
|
||||
github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
|
||||
github.com/charmbracelet/lipgloss v0.5.0 h1:lulQHuVeodSgDez+3rGiuxlPVXSnhth442DATR2/8t8=
|
||||
github.com/charmbracelet/lipgloss v0.5.0/go.mod h1:EZLha/HbzEt7cYqdFPovlqy5FZPj0xFhg5SaqxScmgs=
|
||||
|
|
Loading…
Reference in a new issue