feat: ansi for pipe rows

This commit is contained in:
saeedark 2025-10-08 02:38:45 +03:30 committed by saeedark
parent 5587604469
commit 312b22300d
10 changed files with 566 additions and 23 deletions

View file

@ -1,4 +1,5 @@
#include "input.h"
#include "key-binding.h"
#include <string.h>
#include <unistd.h>
@ -340,6 +341,10 @@ execute_binding(struct seat *seat, struct terminal *term,
return true;
}
case BIND_ACTION_TOGGLE_ANSI_SELECTION:
term->ansi_selection = !(term->ansi_selection);
break;
case BIND_ACTION_SHOW_URLS_COPY:
case BIND_ACTION_SHOW_URLS_LAUNCH:
case BIND_ACTION_SHOW_URLS_PERSISTENT: {