Skip to content

Conversation

IvanTurko
Copy link

Summary

Fixes an issue with the default clear action sending formatted data instead of raw Ctrl+L (^L) to the REPL. Introduced send_raw function to cleanly support raw input.

Changes

  • Added lowlevel.send_raw(meta, data)
  • Added high-level send_raw(ft, data) wrapper
  • Updated named_maps.clear to use the new method

Motivation

The current core.send wraps all output (e.g., appends \n), which breaks REPLs that interpret ^L literally (e.g., Python, IPython). This change makes clear more correct and minimal.

Thanks for the great plugin :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant