mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
url-mode: use ‘jump-label-letters’ as the alphabet for key sequences
Instead of hard coding the alphabet to “sadfjklewcmpgh”, use the letters from ‘jump-label-letters’. Closes #355
This commit is contained in:
parent
d29ec4fd18
commit
c7006661f5
3 changed files with 9 additions and 8 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include <xkbcommon/xkbcommon.h>
|
||||
#include <tllist.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "terminal.h"
|
||||
|
||||
static inline bool urls_mode_is_active(const struct terminal *term)
|
||||
|
|
@ -13,7 +14,7 @@ static inline bool urls_mode_is_active(const struct terminal *term)
|
|||
|
||||
void urls_collect(
|
||||
const struct terminal *term, enum url_action action, url_list_t *urls);
|
||||
void urls_assign_key_combos(url_list_t *urls);
|
||||
void urls_assign_key_combos(const struct config *conf, url_list_t *urls);
|
||||
|
||||
void urls_render(struct terminal *term);
|
||||
void urls_reset(struct terminal *term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue