Language Selection

English French German Italian Portuguese Spanish

Konsole Re-Flow Lines

Filed under
KDE

One day I was looking at the MR (Merge Request) and saw Tomaz Canabrava’s sketch showing the terminal re-flow lines while it shrinks, and I just thought it would be great to have it fully working.

The first thing to have a line re-flow is define how to mark a line with “continues in the next line”. This is the most important thing, otherwise you can’t go back to original state. My first thought was to set a next line char with something not printable, and then the first screen re-flow on both ways prototype was done.

To improve speed, and hold lines before send to memory, the next thing I did was change the _screenLines holder from an array to a QVector type. It was an improvement in speed, specially to re-flow. No need to a new memory allocation, no copy and no delete, it was just update the QVector content and send from the QVector to history, if needed, and resize it.

Read more

More in Tux Machines

The March 2021 Issue of the PCLinuxOS Magazine

The PCLinuxOS Magazine staff is pleased to announce the release of the March 2021 issue. With the exception of a brief period in 2009, The PCLinuxOS Magazine has been published on a monthly basis since September, 2006. The PCLinuxOS Magazine is a product of the PCLinuxOS community, published by volunteers from the community. The magazine is lead by Paul Arnote, Chief Editor, and Assistant Editor Meemaw. The PCLinuxOS Magazine is released under the Creative Commons Attribution- NonCommercial-Share-Alike 3.0 Unported license, and some rights are reserved. All articles may be freely reproduced via any and all means following first publication by The PCLinuxOS Magazine, provided that attribution to both The PCLinuxOS Magazine and the original author are maintained, and a link is provided to the originally published article. In the March 2021 issue: * Short Topix: 10 Year Old Sudo Security Bug Patched * Repo Review: Minitube * GIMP Tutorial: Top GIMP Filters, Part 2 * H.264 vs H.265: The Evolution Of Video Codecs * Two PCLinuxOS Family Members Finally Meet * Tip Top Tips: How I Converted My H.264 Video To HEVC * PCLinuxOS Recipe Corner: Tortilla Casserole * And much more inside! This month’s cover was designed by parnote. Download the PDF (9.8 MB) https://pclosmag.com/download.php?f=2021-03.pdf Download the EPUB Version (7.1 MB) https://pclosmag.com/download.php?f=202103epub.epub Download the MOBI Version (7.2 MB) https://pclosmag.com/download.php?f=202103mobi.mobi Visit the HTML Version https://pclosmag.com/html/enter.html

Android Leftovers

SparkyLinux Finally Gets a KDE Plasma Edition, Xfce Flavor Updated to Xfce 4.16

Based on the Debian Testing repositories as of March 5th, 2021, where the development of the upcoming Debian GNU/Linux 11 “Bullseye” operating system series takes place, the SparkyLinux 2021.03 release ships with Linux kernel 5.10 LTS, the Calamares 3.2.37 installer, and various updated components (see below). But what caught my attention is the fact that SparkyLinux now features a KDE Plasma edition! Until now, SparkyLinux shipped with the Xfce, LXQt, MATE, Openbox (MinimalGUI), and MinimalCLI (text-mode) editions. Read more

How to Mount Windows NTFS Partition in Linux

This is quite common for Dual Boot users who use Windows and Linux simultaneously for their work. You can easily mount Windows partitions through File Manager. When you try to mount the NTFS partition from a terminal, you will encounter an error “The disk contains an unclean file system (0, 0). Read more