Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Stupid mistake I made. #177

Merged
merged 30 commits into from
Nov 15, 2023
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d375b45
Initial Legacy Conhost Support (untested)
oshaboy Sep 24, 2023
58c16d4
typo
oshaboy Sep 24, 2023
6b954a9
Update chafa.c
oshaboy Sep 24, 2023
0d1cc74
more stuff I can't figure out how to compile
oshaboy Sep 25, 2023
9ff3388
some optimization stuff
oshaboy Sep 26, 2023
dd8d462
moar code
oshaboy Sep 27, 2023
fcf6e18
more untested commits.
oshaboy Oct 10, 2023
4bd65b2
forgot semicolon
oshaboy Oct 20, 2023
5303453
Merge branch 'hpjansson:master' into master
oshaboy Oct 20, 2023
ccd0a79
I think I solved the conhost and utf16 problems
oshaboy Nov 4, 2023
73b0647
Build problem on Linux fixed
oshaboy Nov 4, 2023
b38a29a
basic destructor
oshaboy Nov 4, 2023
73d9262
const shouldn't be there
oshaboy Nov 4, 2023
6ee8089
Sanity Check
oshaboy Nov 4, 2023
e46fbdd
Does this fix the memory leak?
oshaboy Nov 4, 2023
65b9706
Revert "Does this fix the memory leak?"
oshaboy Nov 4, 2023
5b76a9b
Update chafa.c
oshaboy Nov 4, 2023
7eac28a
Update chafa.c
oshaboy Nov 4, 2023
39a261c
few fixes
oshaboy Nov 4, 2023
945e322
Windows be like
oshaboy Nov 4, 2023
5c13560
Dropping the iconv stuff, it isn't worth it
oshaboy Nov 5, 2023
ece03e5
Reverted API changes
oshaboy Nov 5, 2023
607c267
Style Changes
oshaboy Nov 5, 2023
9448098
more style
oshaboy Nov 5, 2023
a1d8041
More Formatting + bugfix
oshaboy Nov 5, 2023
2d4f18a
Style Changes
oshaboy Nov 10, 2023
183f6cd
Pointers
oshaboy Nov 10, 2023
f1dcc84
Now I am hopefully done
oshaboy Nov 10, 2023
1e0a3d6
Merge branch 'hpjansson:master' into master
oshaboy Nov 11, 2023
c223c52
Update conhost.c
oshaboy Nov 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/chafa/conhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ canvas_to_conhost (ChafaCanvas *canvas, ConhostRow **lines)
{
ConhostRow *const line = (*lines)+y;
*line=(ConhostRow) {
.attributes = g_malloc (width*sizeof(attribute)),
.attributes = g_malloc (width*sizeof(ConhostAttribute)),
.str = g_malloc (width*sizeof(gunichar2)*2),
.length = width,
.utf16_string_length = 0
Expand Down