Skip to content

Commit a0afd9c

Browse files
committed
feat: improve body pane
1 parent 1654628 commit a0afd9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/request/body.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ func (m BodyModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
9292
}
9393
case tea.KeyMsg:
9494
switch msg.Type {
95+
case tea.KeyCtrlT:
96+
return m, m.toggle.Next()
97+
9598
case tea.KeyEsc:
9699
if m.textarea.Focused() {
97100
m.textarea.Blur()

0 commit comments

Comments
 (0)