Federico Ciuffardi
027ded9339
fix hint position when using contrast=1 and position off_left
2021-01-19 10:41:14 +01:00
Barnabas
b97519170b
get_color to Box<dyn color::Color> instead of heap-allocating a ref.
2020-12-31 19:16:32 +01:00
Ferran Basora
9255c86797
Fix multi selection
2020-11-30 20:49:04 +00:00
nilninull
d57e594737
Added support for wide characters such as cjk and emoji
2020-09-07 18:34:06 +02:00
Ferran Basora
d15774c5cc
Improve positioning code
2020-08-04 16:49:37 +00:00
Martin Lariz
0e04276056
cleaning up with match per suggestion
2020-08-04 18:41:32 +02:00
Martin Lariz
f4696faf77
missed one crucial change to use the offset correctly
2020-08-04 18:41:32 +02:00
Martin Lariz
6ec79a1296
Allow more positions for not overwriting chunk
2020-08-04 18:41:32 +02:00
Peter Bartyik
68c5f52e94
no need for string, line already string slice
2020-07-15 00:06:28 +02:00
Peter Bartyik
41e41cd10b
remove brackets from contrast
2020-07-15 00:06:28 +02:00
Ferran Basora
10eff07d16
Fix another source of flickering
...
When you have many keystrokes in the `stdin` (pushing long keys), we are
saying to `termion` to print many things. Throttling this.
2020-07-10 09:43:33 +00:00
Peter Bartyik
a36d30594c
fix flicker
2020-07-10 11:41:22 +02:00
Ferran Basora
794621f526
cargo fmt
2020-05-30 14:44:28 +00:00
Ferran Basora
2bb8900e6b
Fix bug with no hints
2020-05-15 16:30:09 +00:00
Ferran Basora
7c739ce5c5
Use termion AlternateScreen
2020-05-04 22:06:55 +02:00
Ferran Basora
6ef320d676
Fix line alignment
2020-05-04 22:06:55 +02:00
Ferran Basora
8b4297d925
Avoid extra clear
2020-05-04 22:06:55 +02:00
Ferran Basora
1cba9ce530
First termion attempt
2020-05-04 22:06:55 +02:00
Ferran Basora
bef83eef38
Fix clippy suggestions
2020-05-04 22:06:55 +02:00
Ferran Basora
741a5bd927
Add multi selection
2020-01-19 21:21:07 +01:00
Abin Simon
a1792ea196
add select-bg-color
2019-12-11 18:59:10 +01:00
James O. D. Hunt
26a6c2a528
view: Add @thumbs-contrast option
...
Add an option to surround the hint character with square brackets
(for example `[a]` rather than `a`). This is the equivalent to the
following `tmux-fingers` configuration option [1] and is useful to make
the hint more visible:
```
set -g @fingers-compact-hints 0
```
[1] - https://github.com/Morantron/tmux-fingers#fingers-compact-hints
Signed-off-by: James O. D. Hunt <jamesodhunt@gmail.com>
2019-08-02 21:59:34 +01:00
Ferran Basora
64f1473551
Format rules with rustfmt
2019-03-17 20:16:55 +00:00
Ferran Basora
c828ff39d7
Fix bug with reverse navigation
2019-03-12 22:41:42 +00:00
Ferran Basora
1a6cc7a596
Fix breakline bug, again
2019-03-12 22:28:58 +00:00
Ferran Basora
45d15bf03a
Fix bug in selection navigation
2019-03-12 22:27:21 +00:00
Ferran Basora
4a9d916a2b
Fix selection glitch
2019-03-12 22:17:06 +00:00
Ferran Basora
c8769553f9
Fix breakline problems
2019-03-11 20:34:51 +00:00
Ferran Basora
6a43364f1c
Fix issue with reverse and long hint
2019-03-06 00:03:50 +00:00
Ferran Basora
9db4c9f55e
New view struct to manage the UI
2019-03-03 18:56:00 +00:00