Commit Graph

1567 Commits

Author SHA1 Message Date
Mikael Berthe
484dc2570b Remove cursor move on Ctrl-l ##cons
^L clears the screen as expected, but the cursor is moved and it is
probably not intended.
2024-04-02 13:39:09 +02:00
Mikael Berthe
c546ca6b0f Add support for arrow keys on some terminals ##cons
Some terminals use the sequences \EO{A,B,C,D} for the arrow keys
(e.g. xterm, tmux, screen).
2024-04-02 13:39:09 +02:00
pancake
0910318649 Revert "Minor optimization by avoiding one unnecessary clearline in the dietline ##cons"
This reverts commit 8d51c071a6.
2024-03-30 20:50:23 +01:00
pancake
8d51c071a6 Minor optimization by avoiding one unnecessary clearline in the dietline ##cons 2024-03-26 16:19:00 +01:00
pancake
653eb3bfbb Update the radiff2 manpage 2024-03-20 01:17:13 +01:00
pancake
3986df3a0b Fix UB in RCons.grep 2024-03-18 20:33:33 +01:00
pancake
41d4a03363 Fix uninitialized value in RCons.mark 2024-03-18 07:26:15 +01:00
pancake
30518b9972 Handle ^F and ^B in RCons.less ##shell 2024-03-17 19:47:26 +01:00
pancake
6b0032fa68
Add scr.timeout covering the ^C blocks ##shell 2024-02-28 16:48:53 +01:00
ashamedbit
eb902759d8 Fix leak in canvas.c 2024-02-28 11:10:05 +01:00
condret
db798cf402
Add missing r_cons_canvas_goto_write ##cons 2024-02-16 15:57:52 +01:00
pancake
be75b2d9ee
Fix #22588 - Support multiple redirections in the same line ##shell
* allowed: x > a 2> b
* forbidden: x > a > b
* broken: x>a
* todo: add tests and support nesting and multiple redirects
2024-02-13 20:39:31 +01:00
pancake
7552613e09 Fix another tcc regresson on windows 2024-02-13 01:06:03 +01:00
pancake
7da6f12ef8 Remove ?: from the ??? help message as its deprecated 2024-02-08 18:58:50 +01:00
pancake
8e90149867 Fix #22523 - 1 byte oobread in the java disassembler ##crash 2024-01-04 16:53:09 +01:00
yep
df6f68728f fix compilation error (again) 2024-01-03 23:12:51 +01:00
yep
7911bf402d fix compilation errors 2024-01-03 23:12:51 +01:00
yep
17069314ce Make it possible to use Enter to submit the command in dietline vi-mode ##cons
fix minor bugs ##cons

simplify code ##cons
2024-01-03 23:12:51 +01:00
yep
f41945a662 Implement vi horizontal motions (f/F & t/T) + more di (delete in) vi commands in dietline ##cons 2024-01-03 23:12:51 +01:00
yep
01a0f7fdb7 Implement ~ (swap case) dietline vi-mode command + fix color bug in prompt ##cons 2024-01-03 23:12:51 +01:00
yep
840d1e0ca7 Refactor d (delete) commands and implement c (change) commands in dietline vi-mode ##cons 2024-01-03 23:12:51 +01:00
yep
b4c7eaf830 Fix word deletion bugs in dietline vi-mode ##cons 2024-01-03 23:12:51 +01:00
yep
78741167ac Improve dietline vi-mode word motion commands (b, e, d) ##cons 2024-01-03 23:12:51 +01:00
yep
0002b7048b Make behaviour of some dietline vi commands closer to vim's ##cons 2024-01-03 23:12:51 +01:00
Richard Patel
504b484281 Fix invalid macro identifiers in r_print ##bug
On AIX with GCC 10, "#define $00" does not compile.
Apparently, '$' in identifiers is a GCC extension.

See https://stackoverflow.com/a/369524
2023-12-05 13:00:47 +01:00
pancake
4ceb8ebba3 Fix ?*> dumping to screen ##shell 2023-11-23 11:40:19 +01:00
pancake
9432550e1e Implement ~$$ for internal sort+uniq grep filter ##shell 2023-11-22 21:01:39 +01:00
pancake
5b76e0e635
Add --disable-debugstuff to build without R_LOG_DEBUG, ^C and other stuff ##build 2023-11-21 14:26:32 +01:00
pancake
db20331b87 Current cmd.depth depends on core, not on the global cons context now ##thread
* Fix a bunch of race conditions related to background analysis
2023-11-14 10:05:13 +01:00
pancake
f641c61f08 Make r_cons_pal_parse to always return ansi + RColor ##cons 2023-10-06 12:56:37 +02:00
pancake
cd0dc06c0a Rename RCons.chop() into .trim() ##api 2023-08-17 23:45:29 +02:00
pancake
372c40ec73 Rename RStrpool.ansiChop to ansiTrim() ##api 2023-08-17 23:45:29 +02:00
pancake
d91310ffc2 Fix warnings 2023-08-07 10:40:50 +02:00
pancake
2ccd118e87 Initial support for sixel graphics ##cons 2023-08-04 20:09:01 +02:00
pancake
450a8fa19b Support bold attribute for the scr.html filter ##cons 2023-08-01 02:09:38 +02:00
pancake
f570ac99ab Keep RCons.strcat defines for backward compat ##api 2023-07-29 11:10:31 +02:00
pancake
34f3fb0da7
Fix |H and temporal scr.html ##shell 2023-07-27 17:32:29 +02:00
pancake
c28f2ba029 Minor scr.demo improvements on startup ##cons 2023-07-21 01:48:36 +02:00
pancake
8a8cb277bb Implement the golden platinum shiny prompt ##cons 2023-07-21 01:10:24 +02:00
pancake
5acdb23f4c Add blood theme and fix the bluy one for scr.color=1 2023-07-15 09:04:42 +02:00
pancake
eb50735702
Add ~<> cons filter to indent XML ##shell 2023-07-12 05:01:31 +02:00
pancake
8c447c7129
Fix ~{}~foo grepping indented json ##cons 2023-07-11 14:41:27 +02:00
pancake
bed3f10aa5 Rename gui.alt_background -> gui.background2 ##cons
* Fix tests
2023-07-07 00:36:49 +02:00
pancake
e1b8c12809 Fix RCons.pal varnames to make them all follow the same syntax ##cons
* graph.diff.x -> diff.x
* func_var_x -> var.x
* widget_x -> widget.x
2023-07-07 00:36:49 +02:00
pancake
5988e00f83 Add ec func_var_name in the color palette ##cons
* Use it in disasm.c and update all the themes
2023-07-07 00:36:49 +02:00
pancake
cda5bcbf5a Disable the RConsMark api because getCursor is too slow ##cons
* iow: Speedups console access by disabling an unused feature
2023-07-06 01:42:23 +02:00
Luc Tielen
41e8939e94 Rename r_cons_strcat -> r_cons_print 2023-07-05 15:50:53 +02:00
pancake
d7f965440f
Add the monochrome theme ##cons 2023-07-04 18:49:24 +02:00
Luc Tielen
2a8badaacf Make r_cons_grep_expression public, rm r_cons_grep_process ##abi 2023-06-20 19:34:54 +02:00
Luc Tielen
ed0c1ea1e4 Free cons context marks during deinit ##cons 2023-06-20 19:34:54 +02:00