Handling control sequences in commands

Hey! Welcome to the forum :pray:

Thank you for raising the issue! It does need fixing, but I wasn’t aware of the issue until you raised it. I’m certain people must have come across it before and just not raised it though.

It would be good to get the preview sorted here too!

For sure. I think this would be expected.

Thanks for jumping on this, please don’t hestitate to open any more PRs around the issue. I do very much appreciate you reaching out to discuss it though!

One consideration to bear in mind with any possible refactoring or restructuring; syntax highlighting. There are two kinds that we probably want Atuin to have in the near future

  1. Bash syntax highlighting - issue
  2. Search result highlighting - issue

Only mentioning in case they influence any decisions you may make