Skip to content

Commit

Permalink
add header separator |---
Browse files Browse the repository at this point in the history
  • Loading branch information
flintforge committed Oct 15, 2024
1 parent 0363e80 commit 03033e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ob-sql-session.el
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,10 @@
(beginning-of-line)
(let ((end (point)))
(string-insert-rectangle (point-min) end "|"))
;; where does this extra | comes from ?
(goto-char (point-min)) (delete-char 1))

(goto-char (point-min))(delete-char 1) ; delete extra |
(end-of-line)(newline)
(insert-char #x7C)(insert-char #x2D)) ; insert header separator |-

(buffer-string))))

Expand Down

0 comments on commit 03033e7

Please sign in to comment.