TeamREPENTOGON / TeamREPENTOGON/REPENTOGON
Imgui Multiline Text crashes when pushing up or down
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 345
- Forks
- 51
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 4
Description
ImGui.CreateMenu('test1Menu', 'Test1')
ImGui.AddElement('test1Menu', 'test1MenuItem', ImGuiElement.MenuItem, 'Test1')
ImGui.CreateWindow('test1Window', 'Test1')
ImGui.LinkWindowToElement('test1Window', 'test1MenuItem')
ImGui.AddInputTextMultiline('test1Window', 'test1TxtMultiline', '', nil, 'abcd\nefgh\nijkl')
You can press left or right on your keyboard to move the cursor within the text box. It feels natural to want to press up or down, but that causes the game to crash.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided Lua reproduction with AddInputTextMultiline and inspect the multiline text input handling reached when pressing the up or down keys. Trace the crash from that input path and verify the reproduction no longer crashes while cursor movement remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, lua
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100