Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1594-erts-dumb-terminal-should-ignore-l.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1594-erts-dumb-terminal-should-ignore-l.patch of Package erlang
From b05b7b2bc7f7254e187505ed8851a6bf3bb47d5a Mon Sep 17 00:00:00 2001 From: frazze-jobb <frazze@erlang.org> Date: Thu, 24 Oct 2024 10:30:14 +0200 Subject: [PATCH 2/3] erts: dumb terminal should ignore ^l --- lib/kernel/src/group.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/kernel/src/group.erl b/lib/kernel/src/group.erl index 17b4562ff6..73b7148fc5 100644 --- a/lib/kernel/src/group.erl +++ b/lib/kernel/src/group.erl @@ -770,6 +770,9 @@ edit_line([Erase|Cs],[]) when Erase =:= $\177; Erase =:= $\^H -> edit_line(Cs,[]); edit_line([Erase|Cs],[_|Chars]) when Erase =:= $\177; Erase =:= $\^H -> edit_line(Cs,Chars); +edit_line([$\e,$l|Cs],Chars) -> + %% this is a key sequence sent by to_erl to refresh the screen + edit_line(Cs,Chars); edit_line([Char|Cs],Chars) -> edit_line(Cs,[Char|Chars]). -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor