eaburns / eaburns/T

ui: line wraps and horizontal scrolling

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Do you have any plans on handling long lines? Currently they are wrapped and there is no horizontal scrolling.
I have added a nowrap argument to textbox Draw in `ktye/ui/tb/textbox.go` that simply pretends to have horizontal space (but the image is smaller). Lines are no longer wrapped but you cannot scroll there.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in ktye/ui/tb/textbox.go, where Draw and the proposed nowrap argument are mentioned, and trace how long lines are rendered. Define the expected horizontal scrolling behavior, then verify that long lines neither wrap unexpectedly nor become inaccessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.