This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Terminal -- Clear preserves position of the prompt | ||
---|---|---|---|
Product: | cnd | Reporter: | rherschke |
Component: | Terminalemulator | Assignee: | ilia |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rherschke
2014-02-28 09:22:40 UTC
I am facing the same issue in Cross Platform netbeans 8.1 beta. Also if the terminal has scroll bar then if you do clear its not clearing the full terminal window, only the current view potion. and if you scroll you can see the old content. As facing the same issue in Linux with cross-platform binary. changed the hardware to All. Hi, > In addition to this, please provide a keyboard-binding for clearing the terminal as it is in the output window You can assign shortcuts to all of the Terminal actions in Options. As a workaround you can use a clear-screen shortcut of your shell. Ctrl+L in bash, for example. $ bind -P | grep clear clear-screen can be found on "\C-l". > changed the hardware to All It does affect all platforms, thanks. It's not a P2, as it doesn't prevent users from completing their work in Terminal. changeset : 299669:4617a6b98811 author : ivan@netbeans.org date : Sat Aug 13 11:31:02 PDT 2016 summary : 242439 - Terminal -- Clear preserves position of the prompt Fix is easy. Just have the Clear action call Term.clearHistory() instead of clear(). User Visible Changes -------------------- Clear action will clear history, selection and move cursor to 0,0. Added a Ctl-Shift-L accelerator for Clear. It can't be Ctl-L like it is in the regular output window because Ctrl-L might mean something to the application running in the terminal. Allother terminal accelerators are Ctl-Shift for the same reason. I had to back out CS-L because collab.ui is already using it. |