[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #8 from fl...@mailoo.org --- I was skeptical as well, but it turns out that cli-based formatting is sufficiently well formatted so that the colouring can be "retrieved" by detecting some special characters starting the line. When I realised

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-31 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #7 from Thomas Friedrichsmeier --- I was skeptical that this could be done based on syntax highlighting definitions, but if so, I'll be quite excited to see your work (and don't wait to long before submitting. You can always mark a merge

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #6 from fl...@mailoo.org --- I am currently toying quite a lot with the syntax highlighting of "R interactive session" (I've sent a PR on invent to fix highlighting of the native pipe by the way), and I've managed to replicate most of the

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-30 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=463346 Thomas Friedrichsmeier changed: What|Removed |Added CC||thomas.friedrichsmeier@kdem

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #4 from fl...@mailoo.org --- I can confirm this fixes the progress bar issue completely. Shall I consider the part about printing the colours of the output from 'cli' package in RKWard's R console as "won't fix" then? Happy to help in any

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-27 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #3 from Thomas Friedrichsmeier --- Git commit aef76e215c70e6e8998952345c3d3bd35f7eda47 by Thomas Friedrichsmeier. Committed on 27/12/2022 at 09:41. Pushed by tfry into branch 'master'. Fix output position in case of pasted multi-line

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #2 from fl...@mailoo.org --- I can confirm that the progress bar of CLI is shown with this patch, thank you for this. However for your information, when a multiline command is pasted from a script file, the progress bar is displayed by

[rkward] [Bug 463346] Make R console compatible with 'cli' R package

2022-12-25 Thread Thomas Friedrichsmeier
https://bugs.kde.org/show_bug.cgi?id=463346 --- Comment #1 from Thomas Friedrichsmeier --- Git commit f84482ceee07e0af0a1ebb7e04ddd42bd07b993b by Thomas Friedrichsmeier. Committed on 25/12/2022 at 10:31. Pushed by tfry into branch 'master'. Fix handling of carriage returns in R Console window