Commit graph

55 commits

Author SHA1 Message Date
speedie 0753a2ec69 i was wrong about the issue, this was actually a surprisingly simple fix 2023-04-07 03:35:36 +02:00
speedie 087a405ada some more minor changes to the drawing funcs 2023-04-05 20:54:37 +02:00
speedie a068296697 cleanup draw functions 2023-04-05 19:07:29 +02:00
speedie 108b72af46 last commit for drawinput(); 2023-04-05 18:58:48 +02:00
speedie 4e8c39d3ee use passed arguments in drawprompt(); 2023-04-05 18:56:44 +02:00
speedie 10495b48bf add experimental configuration file
profiles still need to be rewritten
2023-04-04 21:40:22 +02:00
speedie f7de91850b remove some useless lines 2023-04-04 00:23:46 +02:00
speedie 854461e046 fix border width as well 2023-04-03 23:55:57 +02:00
speedie 9078dbe61f fix barpadding for mode/number 2023-04-03 23:48:19 +02:00
speedie 485ad9fb58 support the \033[0m sequence, it resets the scheme 2023-04-02 17:45:56 +02:00
speedie 0a3c36fcd9 make GCC a bit happier 2023-04-01 15:03:42 +02:00
speedie 1495140dbd fix: drawing images when the top line is removed causes it to keep
resizing for all eternity, which eventually makes your computer
unusable
2023-04-01 14:01:59 +02:00
speedie 6ac2afb240 add plenty of comments to spmenu 2023-03-31 12:42:42 +02:00
speedie 158b89335c fix: right/left arrow drawing 2023-03-29 22:01:45 +02:00
speedie 93ce81f05f change some names to make the function more readable 2023-03-29 21:07:23 +02:00
speedie 8c93ee5fbe some minor improvements 2023-03-29 20:23:49 +02:00
speedie d91dec4010 password argument fix 2023-03-28 23:35:46 +02:00
speedie 231a43d053 some changes, spmenu is now suitable to be used for simply drawing plain
text without any selection or anything
2023-03-28 17:37:06 +02:00
speedie cf1b79008b upgrade run launcher significantly 2023-03-28 15:10:57 +02:00
speedie 04b46313ef move drawing to separate functions 2023-03-26 16:42:11 +02:00
speedie ceec442bfe fix some prompt width issues 2023-03-24 04:04:37 +01:00
speedie 1c6c041f5e fixed: tab completion with sgr sequences 2023-03-24 03:48:56 +01:00
speedie b8e7fd27db some changes to the general codebase. also add spmenu:about which
displays information about the compiled spmenu build
2023-03-24 03:14:24 +01:00
speedie 1f2a37c1d2 fix: highlighting drawn when it shouldn't be 2023-03-21 22:24:50 +01:00
speedie 73685ee480 fix text sticking out 2023-03-21 17:10:16 +01:00
speedie ba6dfe2cee add powerline for number and mode 2023-03-21 16:40:11 +01:00
speedie dc51707520 powerline the prompt
TODO: powerline numbers and match count
2023-03-21 16:30:30 +01:00
speedie 45a46fa4a3 fix a possible segmentation fault 2023-03-18 13:07:15 +01:00
speedie d163a7262b remove centered in favor of menuposition == 2 2023-03-16 17:22:14 +01:00
speedie 1153d416ab replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
speedie 98b0ae0651 improve highlighting 2023-03-16 11:58:38 +01:00
speedie 8377ec92a9 some cleanup, start using // comments more 2023-03-16 10:09:51 +01:00
speedie 392e5bfffc Revert "don't set line height beyond item count"
This reverts commit 39ddf11931.

revert this, it caused a lot of issues
will rewrite this later
2023-03-13 23:07:05 +01:00
speedie 39ddf11931 don't set line height beyond item count 2023-03-13 22:48:11 +01:00
speedie 71090e7aa3 add keybinds for setting line/columns 2023-03-13 22:45:04 +01:00
speedie 14075e00a3 fix some bugs with padding 2023-03-12 21:03:35 +01:00
speedie b24cf560a1 add feature which allows prompt width to be removed from items, with or
without arguments
2023-03-11 13:24:20 +01:00
speedie 705cb460bf fix small warnings gcc will spit out if features have been disabled 2023-03-09 17:26:56 +01:00
speedie 9b806fa9c0 add high priority 2023-03-09 10:10:29 +01:00
speedie b84494043f fix one small thing with last commit 2023-03-08 22:51:00 +01:00
speedie c92d21c5c3 fix SGR size 2023-03-08 22:49:04 +01:00
speedie 6450a36f13 fix: last character not highlighted 2023-03-08 19:20:18 +01:00
speedie 3e0bf9cd83 cleanup all gcc warnings 2023-03-06 21:19:12 +01:00
speedie c1990916e3 Improve flipimage(); function, enable pango for item, add rtl lang support
for items with SGR colors
2023-03-04 19:59:36 +01:00
speedie 73a9622c8e apply pango markup to colored text 2023-03-04 02:07:06 +01:00
speedie e3b4a1c700 fix: imagegaps not applied to the right side of the image 2023-03-03 17:22:19 +01:00
speedie 2542474621 fix: prompt increases image gaps 2023-03-03 17:12:38 +01:00
speedie e60134edd0 Fix segmentation fault 2023-03-02 21:37:08 +01:00
speedie e6be5d5aad add option to change the password character 2023-03-02 18:43:09 +01:00
speedie 38b568b997 use TEXTWM for pango 2023-03-02 18:25:28 +01:00