ed14ea9023
Measure automatically in Terminal::present
2023-02-17 13:59:16 +01:00
4ffaae067e
Export all types at top level
2023-02-16 09:37:31 +01:00
f48901f543
Expose WidthDb from Terminal
2022-09-26 17:21:48 +02:00
45ece466c2
Support more modifiers on some terminal emulators
...
If a terminal emulator supports the kitty protocol, this change will
allow cove to take advantage of this. This means that more modifiers
will work on special keys like enter or escape.
See also this section of the kitty protocol docs:
https://sw.kovidgoyal.net/kitty/keyboard-protocol/#disambiguate-escape-codes
2022-08-11 23:15:12 +02:00
7e42913245
Enable bracketed paste mode in Terminal
...
Only on non-windows platforms though, crossterm doesn't support paste
events on windows.
2022-08-10 23:53:54 +02:00
31bb2de87b
Make WidthDB tab-width-aware
2022-08-04 02:18:18 +02:00
11b2211fad
Improve word wrapping
...
Now supports long trailing whitespace as well as tabs.
2022-07-04 19:38:28 +02:00
761519c1a7
Suspend and unsuspend terminal
2022-06-17 20:02:51 +02:00
333cf74fba
Make width measuring optional and disabled by default
2022-06-08 17:38:38 +02:00
8fae7d2bf1
Return Redraw enum instead of bool
...
Boolean values were too easy to accidentally interpret the wrong way.
2022-05-29 13:18:25 +02:00
833defd1ce
Document WidthDB
2022-05-29 13:18:25 +02:00
79e8813884
Restore cursor on exit
2022-05-29 13:18:25 +02:00
67f8919630
Only draw differences from previous frame
2022-05-29 13:18:25 +02:00
9512ddaa3b
Measure actual width of displayed characters
2022-05-29 13:18:25 +02:00
add2f25aba
Use Frame for rendering instead of Buffer
2022-05-21 22:33:39 +02:00
cc2f102141
Position cursor via buffer
2022-05-21 21:07:24 +02:00
bbaea3b5bf
Create simple terminal and buffer abstractions
2022-05-21 20:53:32 +02:00