Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
22329c74
Commit
22329c74
authored
3 months ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Don't reset font in RIPv3 mode
It appears v3 kept the font through a RIP_RESET_WINDOWS command
parent
206134e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#6978
canceled
3 months ago
Stage: build
Stage: test
Stage: cleanup
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/syncterm/CHANGES
+1
-0
1 addition, 0 deletions
src/syncterm/CHANGES
src/syncterm/ripper.c
+14
-1
14 additions, 1 deletion
src/syncterm/ripper.c
with
15 additions
and
1 deletion
src/syncterm/CHANGES
+
1
−
0
View file @
22329c74
...
...
@@ -8,6 +8,7 @@ Fix mouse selection in scrollback
Fix RIP XOR operation
Fix memory leak in RIP parser
Fix handling of split CRLF pairs in RIP mode
Don't change font for RIP_RESET_WINDOWS in RIPv3 mode
Version 1.2rc4
--------------
...
...
This diff is collapsed.
Click to expand it.
src/syncterm/ripper.c
+
14
−
1
View file @
22329c74
...
...
@@ -7855,7 +7855,20 @@ rv_reset(const char * const var, const void * const data)
rip.text_disabled = false;
rip.ansi_state = ANSI_STATE_NONE;
_setcursortype(rip.curstype);
reinit_screen((uint8_t *)conio_fontdata[0].eight_by_eight, 8, 8);
if (rip.version == RIP_VERSION_3) {
void *font;
int width;
int height;
pthread_mutex_lock(&vstatlock);
font = vstat.forced_font;
width = vstat.charwidth;
height = vstat.charheight;
pthread_mutex_unlock(&vstatlock);
reinit_screen(font, width, height);
}
else
reinit_screen((uint8_t *)conio_fontdata[0].eight_by_eight, 8, 8);
memcpy(&curr_ega_palette, &default_ega_palette, sizeof(curr_ega_palette));
set_ega_palette();
cterm->left_margin = 1;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment