[PR #56] [MERGED] Function that draws horizontal and vertical lines. #176

Closed
opened 2026-03-03 16:23:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/56
Author: @mum4k
Created: 6/25/2018
Status: Merged
Merged: 12/1/2018
Merged by: @mum4k

Base: develHead: draw-line


📝 Commits (7)

  • 1bc6a7c Skeleton for function that draws lines.
  • df60341 Implementing code that draws line crossings.
  • 3bfc5b5 Merge branch 'devel' into draw-line
  • c89ed60 Self review.
  • 9f7a598 Fixing documentation.
  • 56a8c6f Merge branch 'devel' into draw-line
  • ae8f7c5 Adding missing licence headers.

📊 Changes

6 files changed (+1499 additions, -2 deletions)

View changed files

draw/hv_line.go (+206 -0)
draw/hv_line_graph.go (+204 -0)
draw/hv_line_graph_test.go (+375 -0)
draw/hv_line_test.go (+673 -0)
📝 draw/line_style.go (+34 -2)
📝 draw/testdraw/testdraw.go (+7 -0)

📄 Description

Correctly handles situations where multiple lines cross. I.e. uses the correct unicode characters to represent the crossing.

Fixes #46


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mum4k/termdash/pull/56 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 6/25/2018 **Status:** ✅ Merged **Merged:** 12/1/2018 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `draw-line` --- ### 📝 Commits (7) - [`1bc6a7c`](https://github.com/mum4k/termdash/commit/1bc6a7ccd4e7b70b477f94b2cbbdaad38d7a5d03) Skeleton for function that draws lines. - [`df60341`](https://github.com/mum4k/termdash/commit/df60341164d1034c96491a500b9c4c14527bae9a) Implementing code that draws line crossings. - [`3bfc5b5`](https://github.com/mum4k/termdash/commit/3bfc5b554c6714b74dee4f5ff64283503fe426e9) Merge branch 'devel' into draw-line - [`c89ed60`](https://github.com/mum4k/termdash/commit/c89ed6042b8d8905659363dca407769cc46f0bd4) Self review. - [`9f7a598`](https://github.com/mum4k/termdash/commit/9f7a598f1a6060aa0db201e539afe5e2dedf2926) Fixing documentation. - [`56a8c6f`](https://github.com/mum4k/termdash/commit/56a8c6f8d235bf8418a1d9309cd0354296b5dd83) Merge branch 'devel' into draw-line - [`ae8f7c5`](https://github.com/mum4k/termdash/commit/ae8f7c5fcaa934d325ceaa7fcf4accb8af9391c3) Adding missing licence headers. ### 📊 Changes **6 files changed** (+1499 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `draw/hv_line.go` (+206 -0) ➕ `draw/hv_line_graph.go` (+204 -0) ➕ `draw/hv_line_graph_test.go` (+375 -0) ➕ `draw/hv_line_test.go` (+673 -0) 📝 `draw/line_style.go` (+34 -2) 📝 `draw/testdraw/testdraw.go` (+7 -0) </details> ### 📄 Description Correctly handles situations where multiple lines cross. I.e. uses the correct unicode characters to represent the crossing. Fixes #46 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:23:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#176
No description provided.