Part 2 of my terminal text editor series is live. This one covers the Presenter layer — smart pointer ownership, breaking circular dependencies with weak_ptr, routing keyboard input through semantic events, and managing viewport state.
https://ilean.me/blog/building-a-terminal-text-editor-the-presenter-part-2/
#CPlusPlus #OpenSource #TerminalUI #TextEditor #Programming #SoftwareDevelopment #CppDev #MVP #cpp
Building a Terminal Text Editor: The Presenter (Part 2)

Senior Software Engineer with 10+ years in embedded systems and full-stack development. Experience at General Motors working on autonomous vehicles, subsea systems, and modern web applications.

Ilean Monterrubio Jr

Something's brewing!!

#GitRaven is getting UI to switch branches and tags.

#opensource #cppdev #diary

I am making time for #GitRaven project again. It had stalled for sometime due to other commitments.

Today, I learned C++ and Qt lifetimes, the advantages of member initializer lists. I still have one more issue to fix w.r.t this topic but I will hold it off a little longer, switching my focus on adding features.

#diary #cppdev #git #opensource #developers

Can somebody point me towards a Myers diff algorithm in a C++ project?

I am looking for the following data as diff result:

1. (old) line number
2. (old) column number
3. (new) line number
4. (new) column number.

Need the above info so I can ask my text editor widget to highlight the line and column as to what was added/deleted.

Please reboost for reach :)

#cppdev #programming #myers #diff

I ran into my very first "it runs as long as you do it the app's way" kind of bug. My guess is, by assigning a different variable here, the pointer's address is aligned "just right" for my code to work.

This comment is from my #GitRaven project.

```
// FIXME: Use `amendCommitOid` instead
// Note: The app seg faults when this variable is deleted :/
git_oid oid = autoCommitOid;
```

#cppdev #cpp #programming

I am loving C++17 feature set. It has so many niceties available in std which makes it easy to focus on my product rather than dealing with trivial things.

#cpp17 #cppdev #programming

CHANGELOG.md · main · Lenain / Open Yuusha · GitLab

Open Yuusha is an RPGツクール95 (RPG Maker 95) modern editor. It aims for original engine compatibility.

GitLab

🚀 New release for OpenYuusha! Mostly gruntwork... but LOOK MA, AN OPEN FILE WINDOW! And some pretty documentation for the underlying library... 🌺

https://gitlab.com/lenaing/open-yuusha/-/blob/main/CHANGELOG.md#010-alpha2---2024-12-07

#imgui #doxygen #reverseengineering #cppdev #meson #rpgmaker95 #rpgmaker

CHANGELOG.md · main · Lenain / Open Yuusha · GitLab

Open Yuusha is an RPGツクール95 (RPG Maker 95) modern editor. It aims for original engine compatibility.

GitLab

I always wanted to play with RPGツクール95 (RPG Maker 95) games, unfortunately it does not work well on modern systems... until...
Open Yuusha! ⚔️
https://gitlab.com/lenaing/open-yuusha

#rpgmaker #rpgmaker95 #cppdev #imgui #glfw

Lenain / Open Yuusha · GitLab

Open Yuusha is an RPGツクール95 (RPG Maker 95) modern editor. It aims for original engine compatibility.

GitLab