Skip to content

Commit 642d37d

Browse files
authored
Merge pull request #107 from fulll/release/1.8.3
v1.8.3
2 parents 36122f6 + fc1102c commit 642d37d

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Each release entry covers the motivation, new features, breaking changes (if any
66

77
| Version | Blog post |
88
| ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
9+
| [v1.8.3](https://fulll.github.io/github-code-search/blog/release-v1-8-3) | Fix TUI layout: header/footer anchoring, viewport packing, narrow-terminal clipping, active-row contrast |
910
| [v1.8.2](https://fulll.github.io/github-code-search/blog/release-v1-8-2) | Fix rate-limit errors aborting multi-page searches; auto-wait and retry with live progress |
1011
| [v1.8.1](https://fulll.github.io/github-code-search/blog/release-v1-8-1) | Fix silent hang after pagination bar — concurrency cap + progress bar for line-number resolution |
1112
| [v1.8.0](https://fulll.github.io/github-code-search/blog/release-v1-8-0) | Purple TUI theme, fetch progress bar, position indicator, line-anchored file links, Esc to close help |

docs/blog/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Full release notes and changelogs are always available on
1111

1212
| Release | Highlights |
1313
| -------------------------- | ---------------------------------------------------------------------------------------------------------- |
14+
| [v1.8.3](./release-v1-8-3) | Fix TUI layout: header/footer anchoring, viewport packing and narrow-terminal rendering |
1415
| [v1.8.2](./release-v1-8-2) | Fix rate-limit errors aborting multi-page searches — auto-wait and resume with live feedback |
1516
| [v1.8.1](./release-v1-8-1) | Fix silent hang after pagination bar — concurrency cap + progress bar for line-number resolution |
1617
| [v1.8.0](./release-v1-8-0) | Purple TUI theme, fetch progress bar, position indicator, line-anchored file links, Esc to close help |

docs/blog/release-v1-8-3.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: "What's new in v1.8.3"
3+
description: "Fix TUI layout: header/footer anchoring, viewport packing and narrow-terminal rendering"
4+
date: 2026-03-09
5+
---
6+
7+
# What's new in github-code-search v1.8.3
8+
9+
> Full release notes: <https://github.com/fulll/github-code-search/releases/tag/v1.8.3>
10+
11+
## Highlights
12+
13+
### Fix: header no longer scrolls off screen
14+
15+
In previous versions, scrolling down fast could push the `github-code-search`
16+
title bar and the column headers (`PATH`, `MATCH`) out of the visible area,
17+
leaving the TUI without any reference point. The header row is now anchored to
18+
the top of the viewport regardless of scroll offset.
19+
20+
### Fix: footer always visible at the bottom
21+
22+
The keyboard-shortcut bar at the bottom of the TUI could float up into the
23+
results area when the result list was shorter than the terminal height.
24+
The viewport now fills any remaining vertical space with blank lines before
25+
rendering the footer, keeping it pinned to the last row.
26+
27+
### Fix: correct rendering on narrow terminals (Unicode / emoji clipping)
28+
29+
The `clipAnsi` helper that truncates long lines to fit the terminal width was
30+
splitting multi-byte UTF-8 sequences such as emoji (e.g. `🔍`) at a raw byte
31+
boundary, producing garbled output or invisible characters on narrow terminals.
32+
The helper now advances by full Unicode code points (`codePointAt`) and only
33+
clips between complete characters.
34+
35+
---
36+
37+
## Other improvements
38+
39+
- **Title badge contrast** — the `github-code-search` badge in the header now
40+
renders in black on magenta instead of a low-contrast colour combination,
41+
making it readable on all common terminal themes.
42+
- **Viewport packing**`normalizeScrollOffset` prevents the scroll position
43+
from drifting past the last result, ensuring the bottom of the list always
44+
fills the screen.
45+
46+
---
47+
48+
## Upgrade
49+
50+
```sh
51+
github-code-search upgrade
52+
```
53+
54+
Or download the latest binary from
55+
[GitHub Releases](https://github.com/fulll/github-code-search/releases/tag/v1.8.3).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-code-search",
3-
"version": "1.8.2",
3+
"version": "1.8.3",
44
"description": "Interactive GitHub code search with per-repo aggregation",
55
"keywords": [
66
"bun",

0 commit comments

Comments
 (0)